Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 162.8 kB / 24.99 MB, free: 8.746 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.058/1.058, allocations: 177.1 MB / 205.3 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.295/0.295, allocations: 34.26 MB / 296 MB, free: 0.7891 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 378.1 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.028e-05/3.194e-05, allocations: 2.312 kB / 378.1 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002486/0.002518, allocations: 1.934 MB / 380.1 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.004119, allocations: 1.103 MB / 381.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.004236, allocations: 7.938 kB / 381.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004433/0.004679, allocations: 159.4 kB / 381.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004709/0.00515, allocations: 187.2 kB / 381.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002086/0.005358, allocations: 127.5 kB / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000246/0.005604, allocations: 247.2 kB / 381.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.005714, allocations: 25.94 kB / 381.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.005856, allocations: 127.7 kB / 382 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.005999, allocations: 127.7 kB / 382.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.006019, allocations: 8 kB / 382.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.006127, allocations: 75.84 kB / 382.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.023e-05/0.006197, allocations: 55.77 kB / 382.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.457e-05/0.006252, allocations: 47.78 kB / 382.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.006508, allocations: 179.3 kB / 382.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.006511, allocations: 0 / 382.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.006512, allocations: 0 / 382.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.006517, allocations: 0 / 382.5 MB, free: 14.49 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000584/0.007101, allocations: 0.5731 MB / 383.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.007141, allocations: 8.031 kB / 383.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.404e-05/0.007205, allocations: 28.8 kB / 383.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.007478, allocations: 228.5 kB / 383.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.007504, allocations: 4.359 kB / 383.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.815e-05/0.007532, allocations: 12.38 kB / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.007772, allocations: 121.3 kB / 383.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.007788, allocations: 3.938 kB / 383.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.007804, allocations: 3.984 kB / 383.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.007815, allocations: 4 kB / 383.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.952e-05/0.007885, allocations: 35.84 kB / 383.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005414/0.008426, allocations: 0.4908 MB / 384 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.008699, allocations: 118.1 kB / 384.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.228e-05/0.008751, allocations: 35.48 kB / 384.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.008766, allocations: 7.984 kB / 384.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.008934, allocations: 120 kB / 384.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.008936, allocations: 0 / 384.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008656/0.009801, allocations: 457 kB / 384.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/0.009865, allocations: 96.92 kB / 384.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002708/0.01014, allocations: 354.3 kB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.01016, allocations: 33.69 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.01026, allocations: 199.3 kB / 385.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.417e-05/0.01033, allocations: 71.42 kB / 385.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.48e-05/0.01039, allocations: 55.36 kB / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.01058, allocations: 0.5118 MB / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.751e-05/0.01064, allocations: 35.97 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.018e-05/0.01073, allocations: 78.72 kB / 386.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.01088, allocations: 126.8 kB / 386.3 MB, free: 10.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01088, allocations: 0 / 386.3 MB, free: 10.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002571/0.01113, allocations: 193.3 kB / 386.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.01116, allocations: 11.94 kB / 386.5 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/0.01117, allocations: 0 / 386.5 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/0.01119, allocations: 0 / 386.5 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.01131, allocations: 47.97 kB / 386.5 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.01133, allocations: 7.938 kB / 386.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.418e-05/0.01138, allocations: 8.062 kB / 386.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.0114, allocations: 8 kB / 386.5 MB, free: 10.16 MB / 362.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 0.0001491/0.01155, allocations: 176.5 kB / 386.7 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.189e-05/0.0116, allocations: 35.77 kB / 386.7 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003711/0.01197, allocations: 232.6 kB / 387 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-06/0.01198, allocations: 7.938 kB / 387 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.01198, allocations: 3.938 kB / 387 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.01199, allocations: 0 / 387 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007369/0.01273, allocations: 0.7449 MB / 387.7 MB, free: 8.895 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.01273, allocations: 4 kB / 387.7 MB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.582e-05/0.0128, allocations: 31.98 kB / 387.8 MB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.0128, allocations: 4 kB / 387.8 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.01282, allocations: 4 kB / 387.8 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.01282, allocations: 11.94 kB / 387.8 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.01283, allocations: 0 / 387.8 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006882/0.01351, allocations: 0.5091 MB / 388.3 MB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.01355, allocations: 27.81 kB / 388.3 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.01358, allocations: 12.12 kB / 388.3 MB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.247e-05/0.01366, allocations: 7.984 kB / 388.3 MB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/0.01372, allocations: 19.97 kB / 388.4 MB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/0.01375, allocations: 16 kB / 388.4 MB, free: 8.211 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001607/0.01391, allocations: 250.9 kB / 388.6 MB, free: 7.965 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01391, allocations: 0 / 388.6 MB, free: 7.965 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002674/0.01418, allocations: 47.94 kB / 388.7 MB, free: 7.918 MB / 362.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.001224/0.0154, allocations: 497.3 kB / 389.2 MB, free: 7.617 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000236/0.01564, allocations: 134.2 kB / 389.3 MB, free: 7.484 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.01564, allocations: 0 / 389.3 MB, free: 7.484 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.587e-05/0.01573, allocations: 71.53 kB / 389.4 MB, free: 7.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.01613, allocations: 80.3 kB / 389.4 MB, free: 7.336 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007232/0.01685, allocations: 465.5 kB / 389.9 MB, free: 6.832 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.416e-05/0.01692, allocations: 100.3 kB / 390 MB, free: 6.715 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.766e-05/0.017, allocations: 37.92 kB / 390 MB, free: 6.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.664e-05/0.01706, allocations: 32.48 kB / 390.1 MB, free: 6.648 MB / 362.7 MB Notification: Performance of SimCode: time 1.593e-06/0.01706, allocations: 0 / 390.1 MB, free: 6.648 MB / 362.7 MB Notification: Performance of Templates: time 0.006103/0.02316, allocations: 3.316 MB / 393.4 MB, free: 3.383 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.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.4795200480148196]