Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001061/0.001061, allocations: 87.67 kB / 21.2 MB, free: 3.367 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009728/0.0009728, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9869/0.9869, allocations: 177 MB / 204.8 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2826/0.2826, allocations: 34.86 MB / 296.3 MB, free: 0.5352 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.751e-05, allocations: 3.156 kB / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.00228/0.002307, allocations: 1.683 MB / 380.5 MB, free: 376 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007825/0.00309, allocations: 0.5641 MB / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.27e-05/0.003162, allocations: 0 / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.003448, allocations: 95.67 kB / 381.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.003753, allocations: 115.5 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.004057, allocations: 115.6 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.004245, allocations: 107.7 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.004359, allocations: 23.97 kB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.156e-05/0.004441, allocations: 59.81 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.004545, allocations: 59.86 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.004563, allocations: 8 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.378e-05/0.004656, allocations: 43.92 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.537e-05/0.004712, allocations: 35.86 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.004745, allocations: 19.92 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.004931, allocations: 111.5 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.004934, allocations: 0 / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.004935, allocations: 0 / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.004941, allocations: 0 / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000429/0.00537, allocations: 463.8 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.005405, allocations: 8.031 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.999e-05/0.005455, allocations: 24.84 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.0056, allocations: 160.3 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-06/0.00561, allocations: 384 / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.005636, allocations: 12.38 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.00577, allocations: 74.88 kB / 382.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.00578, allocations: 4.188 kB / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.005791, allocations: 4.375 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.005799, allocations: 384 / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.455e-05/0.005844, allocations: 31.91 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003986/0.006243, allocations: 331.6 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.393e-05/0.006327, allocations: 55.05 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.894e-05/0.006355, allocations: 19.61 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.006382, allocations: 12 kB / 383 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.006402, allocations: 33.39 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.006403, allocations: 0 / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006526/0.007056, allocations: 245.1 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.007085, allocations: 51.41 kB / 383.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.007241, allocations: 246.7 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.007253, allocations: 25.7 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.00732, allocations: 166.8 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.007354, allocations: 51.78 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.007392, allocations: 35.36 kB / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.007514, allocations: 0.504 MB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.275e-05/0.007547, allocations: 19.98 kB / 384.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.673e-05/0.007573, allocations: 19.12 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.024e-05/0.007644, allocations: 59.61 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.007645, allocations: 0 / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001215/0.007766, allocations: 101.6 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.007779, allocations: 4 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.007784, allocations: 3.938 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.007804, allocations: 0 / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.087e-05/0.007895, allocations: 31.98 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.007902, allocations: 4 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.022e-05/0.007923, allocations: 0 / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.007933, allocations: 4 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.745e-05/0.00801, allocations: 168.5 kB / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.008038, allocations: 19.91 kB / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001928/0.008231, allocations: 127.2 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.008236, allocations: 8 kB / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.00824, allocations: 0 / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.008243, allocations: 4 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003661/0.00861, allocations: 432.9 kB / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.008611, allocations: 0 / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.461e-05/0.008666, allocations: 27.98 kB / 385.3 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.00867, allocations: 4 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.00868, allocations: 3.984 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.008683, allocations: 3.938 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.008684, allocations: 7.938 kB / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/0.008861, allocations: 263.5 kB / 385.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.431e-05/0.008875, allocations: 11.91 kB / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.008891, allocations: 8.031 kB / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.788e-05/0.008929, allocations: 7.938 kB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.008968, allocations: 7.984 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.008975, allocations: 4 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.726e-05/0.009072, allocations: 189 kB / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009072, allocations: 0 / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001843/0.009256, allocations: 27.94 kB / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009377/0.01019, allocations: 417.8 kB / 386.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001501/0.01034, allocations: 67.59 kB / 386.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01035, allocations: 0 / 386.3 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.323e-05/0.01039, allocations: 43.59 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.01062, allocations: 27.36 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004366/0.01105, allocations: 284.8 kB / 386.7 MB, free: 9.934 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.933e-05/0.0111, allocations: 79.33 kB / 386.8 MB, free: 9.836 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.692e-05/0.01116, allocations: 32.52 kB / 386.8 MB, free: 9.805 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.592e-05/0.01119, allocations: 16.5 kB / 386.8 MB, free: 9.789 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.0112, allocations: 3.938 kB / 386.8 MB, free: 9.785 MB / 362.7 MB Notification: Performance of Templates: time 0.00368/0.01488, allocations: 1.613 MB / 388.4 MB, free: 8.188 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.40032766899094]