Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.001132/0.001132, allocations: 84.25 kB / 22.21 MB, free: 2.285 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.001328/0.001328, allocations: 167.3 kB / 25.61 MB, free: 8.473 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 1.163/1.163, allocations: 177 MB / 205.9 MB, free: 4.445 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.1816/0.1816, allocations: 34.88 MB / 297.4 MB, free: 13.33 MB / 282.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.375e-06/2.375e-06, allocations: 0 / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.875e-05, allocations: 3.703 kB / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003525/0.003554, allocations: 1.928 MB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001936/0.00549, allocations: 1.087 MB / 383.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001653/0.005656, allocations: 4 kB / 383.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004154/0.006071, allocations: 159.4 kB / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005279/0.006599, allocations: 191.1 kB / 383.5 MB, free: 19.26 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003561/0.006955, allocations: 115.6 kB / 383.6 MB, free: 19.15 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003539/0.007309, allocations: 247.2 kB / 383.8 MB, free: 18.91 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.007448, allocations: 25.94 kB / 383.9 MB, free: 18.88 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.007666, allocations: 143.6 kB / 384 MB, free: 18.74 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.007861, allocations: 123.7 kB / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.965e-05/0.00789, allocations: 12 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.008042, allocations: 63.84 kB / 384.2 MB, free: 18.55 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.414e-05/0.008126, allocations: 59.77 kB / 384.2 MB, free: 18.49 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.42e-05/0.00819, allocations: 43.8 kB / 384.3 MB, free: 18.45 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000316/0.008506, allocations: 183.2 kB / 384.5 MB, free: 18.27 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.008511, allocations: 0 / 384.5 MB, free: 18.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.008512, allocations: 0 / 384.5 MB, free: 18.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.008519, allocations: 4 kB / 384.5 MB, free: 18.26 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005956/0.009115, allocations: 0.5769 MB / 385 MB, free: 17.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.009156, allocations: 8.031 kB / 385.1 MB, free: 17.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.384e-05/0.00923, allocations: 36.78 kB / 385.1 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.009493, allocations: 208.7 kB / 385.3 MB, free: 17.37 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.009515, allocations: 4.312 kB / 385.3 MB, free: 17.37 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.009547, allocations: 20.31 kB / 385.3 MB, free: 17.35 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.009733, allocations: 111.6 kB / 385.4 MB, free: 17.22 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.009747, allocations: 192 / 385.4 MB, free: 17.22 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.009759, allocations: 8.375 kB / 385.4 MB, free: 17.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.009767, allocations: 3.938 kB / 385.4 MB, free: 17.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.153e-05/0.009828, allocations: 27.95 kB / 385.5 MB, free: 17.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004325/0.01026, allocations: 463.1 kB / 385.9 MB, free: 16.7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.01052, allocations: 114 kB / 386 MB, free: 16.56 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.618e-05/0.01057, allocations: 35.61 kB / 386.1 MB, free: 16.52 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.01058, allocations: 4 kB / 386.1 MB, free: 16.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.01075, allocations: 124.3 kB / 386.2 MB, free: 16.37 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 3.035e-06/0.01075, allocations: 0 / 386.2 MB, free: 16.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.001129/0.01188, allocations: 370.1 kB / 386.6 MB, free: 16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.01192, allocations: 85.11 kB / 386.6 MB, free: 15.9 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.01218, allocations: 342.2 kB / 387 MB, free: 15.55 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.0122, allocations: 29.7 kB / 387 MB, free: 15.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.01231, allocations: 207.2 kB / 387.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.915e-05/0.01238, allocations: 79.36 kB / 387.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.405e-05/0.01244, allocations: 51.34 kB / 387.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.099e-05/0.01252, allocations: 0.5195 MB / 387.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.095e-05/0.01256, allocations: 27.97 kB / 387.9 MB, free: 14.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.219e-05/0.01263, allocations: 78.8 kB / 388 MB, free: 14.53 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.01275, allocations: 110.7 kB / 388.1 MB, free: 14.4 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.01275, allocations: 0 / 388.1 MB, free: 14.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002425/0.01299, allocations: 181 kB / 388.2 MB, free: 14.22 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.01301, allocations: 8.062 kB / 388.2 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.01301, allocations: 0 / 388.2 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.01302, allocations: 4 kB / 388.2 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.062e-05/0.01311, allocations: 47.91 kB / 388.3 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.01311, allocations: 7.938 kB / 388.3 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.087e-05/0.01317, allocations: 8 kB / 388.3 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.01317, allocations: 4 kB / 388.3 MB, free: 14.14 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.186e-05/0.01325, allocations: 180.4 kB / 388.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/0.01328, allocations: 31.81 kB / 388.5 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002113/0.01349, allocations: 219.6 kB / 388.7 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.01349, allocations: 4 kB / 388.7 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.01349, allocations: 0 / 388.7 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.0135, allocations: 0 / 388.7 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004079/0.01391, allocations: 0.687 MB / 389.4 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.01391, allocations: 4 kB / 389.4 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.756e-05/0.01396, allocations: 31.92 kB / 389.5 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.01396, allocations: 7.984 kB / 389.5 MB, free: 12.92 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.01397, allocations: 12.06 kB / 389.5 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.01397, allocations: 8 kB / 389.5 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.01397, allocations: 3.938 kB / 389.5 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.01419, allocations: 498.4 kB / 390 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.089e-05/0.01421, allocations: 35.8 kB / 390 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.01423, allocations: 11.94 kB / 390 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.369e-05/0.0143, allocations: 7.984 kB / 390 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.01434, allocations: 23.91 kB / 390.1 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.01435, allocations: 12 kB / 390.1 MB, free: 12.28 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.26e-05/0.01444, allocations: 230.9 kB / 390.3 MB, free: 12.05 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01444, allocations: 4 kB / 390.3 MB, free: 12.05 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002874/0.01472, allocations: 51.94 kB / 390.3 MB, free: 12 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001196/0.01592, allocations: 483.2 kB / 390.8 MB, free: 11.7 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001474/0.01607, allocations: 123.4 kB / 390.9 MB, free: 11.58 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01607, allocations: 0 / 390.9 MB, free: 11.58 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.015e-05/0.01613, allocations: 63.53 kB / 391 MB, free: 11.51 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.01647, allocations: 72.69 kB / 391.1 MB, free: 11.45 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004442/0.01691, allocations: 459.4 kB / 391.5 MB, free: 10.95 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.314e-05/0.01696, allocations: 100.5 kB / 391.6 MB, free: 10.83 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.483e-05/0.01703, allocations: 41.94 kB / 391.7 MB, free: 10.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.01713, allocations: 114.2 kB / 391.8 MB, free: 10.67 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01713, allocations: 0 / 391.8 MB, free: 10.67 MB / 314.7 MB Notification: Performance of Templates: time 0.005378/0.02251, allocations: 3.727 MB / 395.5 MB, free: 7.012 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.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.7184032150544226]