Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.0009832/0.0009832, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001178/0.001178, allocations: 156.5 kB / 24.55 MB, free: 20 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.9436/0.9436, allocations: 177 MB / 204.8 MB, free: 5.605 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.277/0.277, allocations: 34.86 MB / 296.3 MB, free: 0.5547 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.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.866e-06/2.866e-06, allocations: 4 kB / 378.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.26e-05, allocations: 3.578 kB / 378.9 MB, free: 2 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002167/0.00219, allocations: 1.758 MB / 380.6 MB, free: 232 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.003479, allocations: 1.007 MB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.842e-05/0.003558, allocations: 4 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.00384, allocations: 39.64 kB / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003064/0.004146, allocations: 95.53 kB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001799/0.004326, allocations: 87.59 kB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.00448, allocations: 107.6 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.865e-05/0.004558, allocations: 8 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.99e-05/0.004638, allocations: 55.77 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.876e-05/0.004707, allocations: 27.91 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.004722, allocations: 4 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.601e-05/0.004808, allocations: 47.91 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.715e-05/0.004855, allocations: 19.92 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.821e-05/0.004893, allocations: 15.94 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.005059, allocations: 99.59 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.005061, allocations: 4 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.005062, allocations: 0 / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.005066, allocations: 0 / 382.2 MB, free: 14.61 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004448/0.005511, allocations: 443.9 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.005545, allocations: 8.031 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.795e-05/0.005593, allocations: 16.88 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.005761, allocations: 149.8 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.005779, allocations: 384 / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.005798, allocations: 4.375 kB / 382.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.00592, allocations: 62.88 kB / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.005931, allocations: 8.188 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.005941, allocations: 4.375 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.005951, allocations: 7.938 kB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.576e-05/0.005987, allocations: 11.98 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002801/0.006267, allocations: 275.8 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.00637, allocations: 55.11 kB / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.779e-05/0.006398, allocations: 15.69 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.00641, allocations: 0 / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.434e-05/0.006504, allocations: 76.92 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.006505, allocations: 4 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003736/0.006879, allocations: 157.4 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.00692, allocations: 51.41 kB / 383.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.007054, allocations: 212.1 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.007069, allocations: 29.7 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.403e-05/0.007133, allocations: 150.9 kB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.007164, allocations: 27.78 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.007196, allocations: 23.38 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.007327, allocations: 0.4962 MB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.438e-05/0.007352, allocations: 8 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.99e-05/0.007392, allocations: 47.23 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.778e-05/0.007449, allocations: 47.36 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.007451, allocations: 0 / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001095/0.00756, allocations: 97.41 kB / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.007574, allocations: 8 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.007579, allocations: 0 / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.007592, allocations: 0 / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.782e-05/0.00767, allocations: 19.98 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.007675, allocations: 0 / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.643e-05/0.007701, allocations: 8.031 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.007708, allocations: 4 kB / 384.7 MB, free: 11.9 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 (10): * Single equations (assignments): 10 * 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.931e-05/0.007777, allocations: 164.5 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.007794, allocations: 15.88 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001364/0.00793, allocations: 102.4 kB / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.007932, allocations: 0 / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.007935, allocations: 0 / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.007938, allocations: 384 / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.0082, allocations: 392.9 kB / 385.4 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.008203, allocations: 12.02 kB / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.317e-05/0.008227, allocations: 8 kB / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.008231, allocations: 4 kB / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.008238, allocations: 0 / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.008239, allocations: 0 / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.00824, allocations: 0 / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.008381, allocations: 259.4 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.101e-05/0.008392, allocations: 7.953 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.008409, allocations: 7.984 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.651e-05/0.008446, allocations: 0 / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.008481, allocations: 15.97 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.008492, allocations: 8 kB / 385.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.736e-05/0.008559, allocations: 164 kB / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00856, allocations: 0 / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001738/0.008733, allocations: 23.94 kB / 385.9 MB, free: 10.65 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: 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 (9): * Single equations (assignments): 7 * 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.0008579/0.009591, allocations: 432 kB / 386.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000131/0.009722, allocations: 63.52 kB / 386.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.009724, allocations: 4 kB / 386.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.81e-05/0.009762, allocations: 27.8 kB / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.009992, allocations: 35.92 kB / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000345/0.01034, allocations: 214.2 kB / 386.6 MB, free: 9.973 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.558e-05/0.01038, allocations: 67.34 kB / 386.7 MB, free: 9.887 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.897e-05/0.01042, allocations: 21.27 kB / 386.7 MB, free: 9.867 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.596e-05/0.01046, allocations: 16.5 kB / 386.7 MB, free: 9.852 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01046, allocations: 0 / 386.7 MB, free: 9.852 MB / 362.7 MB Notification: Performance of Templates: time 0.003686/0.01414, allocations: 1.989 MB / 388.7 MB, free: 7.891 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.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.0919535397551954]