Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.001375/0.001375, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001806/0.001806, allocations: 167.7 kB / 24.99 MB, free: 8.219 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.948/0.948, allocations: 177 MB / 205.2 MB, free: 5.543 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.2615/0.2615, allocations: 34.86 MB / 296.6 MB, free: 484 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.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 378.8 MB, free: 2.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.639e-05/2.832e-05, allocations: 2.312 kB / 378.8 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.005918/0.005946, allocations: 1.709 MB / 380.5 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004394/0.01034, allocations: 1.001 MB / 381.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.143e-05/0.01043, allocations: 0 / 381.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002956/0.01073, allocations: 51.69 kB / 381.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003205/0.01105, allocations: 111.5 kB / 381.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.01123, allocations: 71.67 kB / 381.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.0114, allocations: 107.6 kB / 381.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.252e-05/0.01144, allocations: 12.22 kB / 381.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.959e-05/0.01153, allocations: 43.84 kB / 381.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.988e-05/0.0116, allocations: 27.91 kB / 382 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.01162, allocations: 4 kB / 382 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.627e-05/0.0117, allocations: 31.98 kB / 382 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.699e-05/0.01175, allocations: 27.86 kB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.072e-05/0.01179, allocations: 19.92 kB / 382 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.01198, allocations: 107.5 kB / 382.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.01198, allocations: 4 kB / 382.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.01198, allocations: 0 / 382.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.01199, allocations: 0 / 382.1 MB, free: 14.98 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004862/0.01247, allocations: 463.8 kB / 382.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.01251, allocations: 15.97 kB / 382.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.355e-05/0.01256, allocations: 16.84 kB / 382.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.01275, allocations: 165.2 kB / 382.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.01277, allocations: 384 / 382.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.01278, allocations: 4.375 kB / 382.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.0129, allocations: 58.94 kB / 382.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.01291, allocations: 8.125 kB / 382.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.01292, allocations: 4.375 kB / 382.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.01293, allocations: 3.938 kB / 382.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.495e-05/0.01296, allocations: 11.98 kB / 382.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00317/0.01613, allocations: 148.7 kB / 383 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.01625, allocations: 51.05 kB / 383.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.309e-05/0.01628, allocations: 19.67 kB / 383.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.01629, allocations: 0 / 383.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001133/0.01641, allocations: 69.05 kB / 383.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.01641, allocations: 0 / 383.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002024/0.01661, allocations: 85.53 kB / 383.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.01665, allocations: 63.33 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.01684, allocations: 273.6 kB / 383.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.01685, allocations: 29.7 kB / 383.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.797e-05/0.01692, allocations: 162.9 kB / 383.8 MB, free: 13.17 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.01695, allocations: 11.91 kB / 383.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.01699, allocations: 23.38 kB / 383.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.01712, allocations: 0.5079 MB / 384.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.667e-05/0.01715, allocations: 4 kB / 384.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.635e-05/0.01719, allocations: 35.36 kB / 384.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.595e-05/0.01724, allocations: 35.31 kB / 384.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.01724, allocations: 0 / 384.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001088/0.01735, allocations: 77.53 kB / 384.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.01737, allocations: 8 kB / 384.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.01737, allocations: 0 / 384.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.01739, allocations: 0 / 384.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.243e-05/0.01746, allocations: 15.92 kB / 384.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.01746, allocations: 32 / 384.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.649e-05/0.0175, allocations: 8 kB / 384.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.01751, allocations: 8 kB / 384.5 MB, free: 12.4 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.927e-05/0.01759, allocations: 159 kB / 384.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.01761, allocations: 15.91 kB / 384.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/0.01775, allocations: 99.06 kB / 384.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.01776, allocations: 0 / 384.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.01776, allocations: 3.938 kB / 384.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.01776, allocations: 4 kB / 384.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.01788, allocations: 156.5 kB / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01788, allocations: 0 / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.377e-05/0.01791, allocations: 11.98 kB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.01791, allocations: 7.984 kB / 384.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.01792, allocations: 0 / 384.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.01792, allocations: 0 / 384.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01792, allocations: 0 / 384.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.01805, allocations: 124.3 kB / 385.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.683e-05/0.01806, allocations: 15.84 kB / 385.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.01809, allocations: 4 kB / 385.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.98e-05/0.01811, allocations: 4 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.01815, allocations: 11.92 kB / 385.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.01816, allocations: 4 kB / 385.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001144/0.01828, allocations: 192.5 kB / 385.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01828, allocations: 0 / 385.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002107/0.01849, allocations: 20 kB / 385.3 MB, free: 11.51 MB / 362.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003983/0.02247, allocations: 381.2 kB / 385.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001202/0.02259, allocations: 43.59 kB / 385.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.02259, allocations: 0 / 385.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.749e-05/0.02263, allocations: 19.69 kB / 385.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.02287, allocations: 34.86 kB / 385.8 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004066/0.02328, allocations: 234.5 kB / 386 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.379e-05/0.02332, allocations: 71.33 kB / 386.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.915e-05/0.02336, allocations: 24.53 kB / 386.1 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.02339, allocations: 16.5 kB / 386.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.02339, allocations: 0 / 386.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of Templates: time 0.007322/0.03071, allocations: 1.667 MB / 387.8 MB, free: 9.121 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.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.0791242991108447]