Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.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.0009792/0.0009792, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001242/0.001242, allocations: 168.9 kB / 24.91 MB, free: 8.762 MB / 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.9609/0.9609, allocations: 177 MB / 205.2 MB, free: 5.422 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.2529/0.2529, allocations: 34.86 MB / 296.6 MB, free: 0.5195 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.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 325.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.75e-05/2.921e-05, allocations: 2.312 kB / 325.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003685/0.003715, allocations: 1.717 MB / 327.7 MB, free: 5.422 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.004805, allocations: 0.5562 MB / 328.2 MB, free: 4.863 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.929e-05/0.004874, allocations: 4 kB / 328.2 MB, free: 4.859 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006079/0.005482, allocations: 455.1 kB / 328.7 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005674/0.00605, allocations: 299.2 kB / 329 MB, free: 4.121 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.006331, allocations: 139.5 kB / 329.1 MB, free: 3.984 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.006527, allocations: 171.6 kB / 329.3 MB, free: 3.816 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.363e-05/0.006611, allocations: 20.2 kB / 329.3 MB, free: 3.793 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.006722, allocations: 127.7 kB / 329.4 MB, free: 3.668 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.006915, allocations: 203.6 kB / 329.6 MB, free: 3.469 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.006931, allocations: 4 kB / 329.6 MB, free: 3.465 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.351e-05/0.007025, allocations: 47.92 kB / 329.7 MB, free: 3.418 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.086e-05/0.007116, allocations: 91.7 kB / 329.7 MB, free: 3.328 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.00715, allocations: 39.73 kB / 329.8 MB, free: 3.289 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.007355, allocations: 215.1 kB / 330 MB, free: 3.078 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.007357, allocations: 0 / 330 MB, free: 3.078 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.007358, allocations: 0 / 330 MB, free: 3.078 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.007362, allocations: 0 / 330 MB, free: 3.078 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000454/0.007816, allocations: 0.554 MB / 330.5 MB, free: 2.496 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.00785, allocations: 16.02 kB / 330.6 MB, free: 2.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.00789, allocations: 20.92 kB / 330.6 MB, free: 2.461 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.008082, allocations: 246 kB / 330.8 MB, free: 2.191 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.008091, allocations: 4.375 kB / 330.8 MB, free: 2.188 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.885e-05/0.008109, allocations: 4.375 kB / 330.8 MB, free: 2.184 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.008219, allocations: 71.61 kB / 330.9 MB, free: 2.105 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.008229, allocations: 192 / 330.9 MB, free: 2.105 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.008239, allocations: 4.359 kB / 330.9 MB, free: 2.102 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.008245, allocations: 4.375 kB / 330.9 MB, free: 2.098 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.851e-05/0.008274, allocations: 11.94 kB / 330.9 MB, free: 2.086 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000235/0.008509, allocations: 184.1 kB / 331.1 MB, free: 1.891 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.008641, allocations: 34.56 kB / 331.1 MB, free: 1.848 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.72e-05/0.008659, allocations: 20.92 kB / 331.2 MB, free: 1.824 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.008675, allocations: 0 / 331.2 MB, free: 1.824 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.008693, allocations: 34.55 kB / 331.2 MB, free: 1.781 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.008694, allocations: 0 / 331.2 MB, free: 1.781 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004751/0.009169, allocations: 218.7 kB / 331.4 MB, free: 1.562 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.009198, allocations: 55.41 kB / 331.5 MB, free: 1.496 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003099/0.009508, allocations: 0.5322 MB / 332 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.00952, allocations: 25.7 kB / 332 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.641e-05/0.009577, allocations: 145.3 kB / 332.2 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.009604, allocations: 35.67 kB / 332.2 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.009636, allocations: 25.72 kB / 332.2 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.79e-05/0.009734, allocations: 358.7 kB / 332.6 MB, free: 348 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.597e-05/0.00975, allocations: 8 kB / 332.6 MB, free: 340 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.819e-05/0.009768, allocations: 16.17 kB / 332.6 MB, free: 324 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.578e-05/0.009814, allocations: 45.52 kB / 332.6 MB, free: 276 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.009815, allocations: 0 / 332.6 MB, free: 276 kB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.069e-05/0.009896, allocations: 86.62 kB / 332.7 MB, free: 184 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.009907, allocations: 12 kB / 332.7 MB, free: 172 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.009912, allocations: 0 / 332.7 MB, free: 172 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.477e-06/0.009921, allocations: 0 / 332.7 MB, free: 172 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.904e-05/0.00998, allocations: 19.98 kB / 332.7 MB, free: 152 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.009983, allocations: 0 / 332.7 MB, free: 152 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.956e-05/0.01001, allocations: 11.98 kB / 332.8 MB, free: 140 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.01002, allocations: 4 kB / 332.8 MB, free: 136 kB / 298.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 (11): * Single equations (assignments): 11 * 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.005e-05/0.01009, allocations: 116.6 kB / 332.9 MB, free: 8 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.698e-05/0.01013, allocations: 31.91 kB / 332.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.01025, allocations: 120.2 kB / 333 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.01026, allocations: 0 / 333 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.01026, allocations: 0 / 333 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01026, allocations: 3.984 kB / 333 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.01054, allocations: 338.8 kB / 333.4 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.01054, allocations: 0 / 333.4 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.848e-05/0.01059, allocations: 19.98 kB / 333.4 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.01059, allocations: 4 kB / 333.4 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.0106, allocations: 3.984 kB / 333.4 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.0106, allocations: 4.062 kB / 333.4 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.0106, allocations: 4 kB / 333.4 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.01071, allocations: 201.1 kB / 333.6 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.394e-05/0.01074, allocations: 31.72 kB / 333.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.01075, allocations: 4 kB / 333.6 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.528e-05/0.0108, allocations: 8 kB / 333.6 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.752e-05/0.01083, allocations: 11.92 kB / 333.6 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.01083, allocations: 0 / 333.6 MB, free: 15.18 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001739/0.011, allocations: 287.2 kB / 333.9 MB, free: 14.9 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.011, allocations: 0 / 333.9 MB, free: 14.9 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001493/0.01115, allocations: 31.94 kB / 334 MB, free: 14.87 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001173/0.01233, allocations: 0.5699 MB / 334.5 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.268e-05/0.01241, allocations: 48.78 kB / 334.6 MB, free: 14.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.01241, allocations: 8 kB / 334.6 MB, free: 14.51 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.245e-05/0.01245, allocations: 40.7 kB / 334.6 MB, free: 14.47 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.01264, allocations: 29.95 kB / 334.7 MB, free: 14.44 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005729/0.01321, allocations: 0.6152 MB / 335.3 MB, free: 13.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.05e-05/0.01328, allocations: 119.3 kB / 335.4 MB, free: 13.65 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.74e-05/0.01332, allocations: 16.48 kB / 335.4 MB, free: 13.63 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.602e-05/0.01337, allocations: 67.36 kB / 335.5 MB, free: 13.57 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01337, allocations: 0 / 335.5 MB, free: 13.57 MB / 314.7 MB Notification: Performance of Templates: time 0.003799/0.01717, allocations: 1.858 MB / 337.3 MB, free: 11.73 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.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.002211634069681]