Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.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.001593/0.001593, 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.001569/0.001569, allocations: 164.2 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.968/0.968, allocations: 177 MB / 205.2 MB, free: 5.055 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.2623/0.2623, allocations: 34.86 MB / 296.6 MB, free: 452 kB / 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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.81e-07/9.81e-07, allocations: 0 / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.349e-05/1.447e-05, allocations: 5.406 kB / 325.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002/0.002015, allocations: 1.693 MB / 327.6 MB, free: 5.449 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007333/0.002748, allocations: 0.5718 MB / 328.2 MB, free: 4.875 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.886e-05/0.002797, allocations: 4 kB / 328.2 MB, free: 4.871 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004061/0.003203, allocations: 455 kB / 328.6 MB, free: 4.426 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003394/0.003542, allocations: 303.1 kB / 328.9 MB, free: 4.129 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.003854, allocations: 167.5 kB / 329.1 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.004046, allocations: 176.4 kB / 329.3 MB, free: 3.793 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.307e-05/0.004119, allocations: 15.97 kB / 329.3 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.004229, allocations: 127.7 kB / 329.4 MB, free: 3.652 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.004378, allocations: 195.6 kB / 329.6 MB, free: 3.461 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.004392, allocations: 4 kB / 329.6 MB, free: 3.457 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.096e-05/0.004463, allocations: 31.94 kB / 329.6 MB, free: 3.426 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.411e-05/0.004537, allocations: 95.64 kB / 329.7 MB, free: 3.332 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.332e-05/0.00457, allocations: 31.75 kB / 329.8 MB, free: 3.301 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.004796, allocations: 195.2 kB / 330 MB, free: 3.109 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.004799, allocations: 0 / 330 MB, free: 3.109 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.0048, allocations: 0 / 330 MB, free: 3.109 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.004808, allocations: 0 / 330 MB, free: 3.109 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004635/0.005271, allocations: 0.554 MB / 330.5 MB, free: 2.527 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.005301, allocations: 12.03 kB / 330.5 MB, free: 2.516 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.605e-05/0.005337, allocations: 24.92 kB / 330.5 MB, free: 2.492 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004586/0.005796, allocations: 242 kB / 330.8 MB, free: 2.227 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.005805, allocations: 4.375 kB / 330.8 MB, free: 2.223 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.005825, allocations: 12.36 kB / 330.8 MB, free: 2.211 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.816e-05/0.005913, allocations: 54.94 kB / 330.9 MB, free: 2.148 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.005922, allocations: 4.172 kB / 330.9 MB, free: 2.145 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.00593, allocations: 4.375 kB / 330.9 MB, free: 2.141 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.005935, allocations: 4.375 kB / 330.9 MB, free: 2.137 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.222e-05/0.005957, allocations: 15.86 kB / 330.9 MB, free: 2.121 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000233/0.00619, allocations: 195.1 kB / 331.1 MB, free: 1.914 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.006312, allocations: 29.41 kB / 331.1 MB, free: 1.875 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.379e-05/0.006325, allocations: 8.859 kB / 331.1 MB, free: 1.863 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.006341, allocations: 8.078 kB / 331.1 MB, free: 1.855 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.006363, allocations: 34.5 kB / 331.2 MB, free: 1.812 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.006364, allocations: 0 / 331.2 MB, free: 1.812 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.000262/0.006626, allocations: 113.4 kB / 331.3 MB, free: 1.695 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.006652, allocations: 51.41 kB / 331.3 MB, free: 1.633 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002941/0.006946, allocations: 0.5244 MB / 331.8 MB, free: 1.094 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.006959, allocations: 29.7 kB / 331.9 MB, free: 1.059 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.007016, allocations: 145.3 kB / 332 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.007037, allocations: 19.83 kB / 332 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.00707, allocations: 17.72 kB / 332 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.971e-05/0.007159, allocations: 358.7 kB / 332.4 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.166e-05/0.007171, allocations: 7.984 kB / 332.4 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.157e-06/0.00718, allocations: 4 kB / 332.4 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.795e-05/0.007208, allocations: 19.67 kB / 332.4 MB, free: 480 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.007209, allocations: 0 / 332.4 MB, free: 480 kB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.98e-05/0.007269, allocations: 65.61 kB / 332.5 MB, free: 408 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.007279, allocations: 7.938 kB / 332.5 MB, free: 400 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.007282, allocations: 0 / 332.5 MB, free: 400 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.007293, allocations: 3.938 kB / 332.5 MB, free: 396 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.686e-05/0.007329, allocations: 11.98 kB / 332.5 MB, free: 384 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.275e-06/0.007332, allocations: 256 / 332.5 MB, free: 384 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.194e-05/0.007354, allocations: 12 kB / 332.5 MB, free: 372 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.007358, allocations: 4 kB / 332.5 MB, free: 368 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 (5): * Single equations (assignments): 5 * 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 6.216e-05/0.00742, allocations: 112.7 kB / 332.6 MB, free: 244 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.007446, allocations: 27.91 kB / 332.7 MB, free: 216 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.738e-05/0.007543, allocations: 93.16 kB / 332.8 MB, free: 116 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.007545, allocations: 0 / 332.8 MB, free: 116 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-06/0.007547, allocations: 0 / 332.8 MB, free: 116 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.007549, allocations: 0 / 332.8 MB, free: 116 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.007766, allocations: 266.7 kB / 333 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.007767, allocations: 4 kB / 333 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.723e-05/0.007794, allocations: 15.92 kB / 333 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.007796, allocations: 0 / 333 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-06/0.0078, allocations: 0 / 333 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.007802, allocations: 3.938 kB / 333 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.007803, allocations: 0 / 333 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.517e-05/0.007878, allocations: 159.5 kB / 333.2 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.263e-05/0.007901, allocations: 39.66 kB / 333.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.007913, allocations: 0 / 333.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.579e-05/0.007949, allocations: 4 kB / 333.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/0.007968, allocations: 3.984 kB / 333.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.007971, allocations: 4 kB / 333.2 MB, free: 15.58 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001605/0.008132, allocations: 283.2 kB / 333.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008132, allocations: 0 / 333.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001385/0.00827, allocations: 27.95 kB / 333.6 MB, free: 15.28 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001012/0.009282, allocations: 0.4916 MB / 334 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.843e-05/0.00935, allocations: 32.78 kB / 334.1 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.009357, allocations: 4 kB / 334.1 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.582e-05/0.009373, allocations: 16.8 kB / 334.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.009544, allocations: 29.95 kB / 334.1 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005486/0.01009, allocations: 0.5779 MB / 334.7 MB, free: 14.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.458e-05/0.01016, allocations: 127.2 kB / 334.8 MB, free: 14.2 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.896e-05/0.01019, allocations: 11.97 kB / 334.8 MB, free: 14.19 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.832e-05/0.01023, allocations: 63.38 kB / 334.9 MB, free: 14.12 MB / 314.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01024, allocations: 0 / 334.9 MB, free: 14.12 MB / 314.7 MB Notification: Performance of Templates: time 0.003413/0.01365, allocations: 1.464 MB / 336.4 MB, free: 12.67 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.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.005669245030731]