Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.001/0.001, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001159/0.001159, allocations: 170.3 kB / 24.81 MB, free: 9.262 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.05/1.05, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2716/0.2716, allocations: 34.26 MB / 296.1 MB, free: 0.707 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.Test79,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.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.166e-06/3.166e-06, allocations: 3.984 kB / 378.6 MB, free: 2.312 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.863e-05/2.179e-05, allocations: 2.312 kB / 378.6 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002644/0.002666, allocations: 1.936 MB / 380.5 MB, free: 368 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.004056, allocations: 1.099 MB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.004163, allocations: 4 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004147/0.004578, allocations: 215.2 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003713/0.004949, allocations: 227 kB / 382.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.005151, allocations: 115.6 kB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002307/0.005382, allocations: 271.2 kB / 382.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.307e-05/0.005475, allocations: 13.97 kB / 382.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.005616, allocations: 147.6 kB / 382.6 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.005761, allocations: 155.6 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.00578, allocations: 8 kB / 382.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.43e-05/0.005875, allocations: 67.91 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.467e-05/0.005939, allocations: 63.75 kB / 382.9 MB, free: 13.99 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.752e-05/0.005987, allocations: 43.8 kB / 382.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.006196, allocations: 199.1 kB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.006198, allocations: 4 kB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.006198, allocations: 0 / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.006202, allocations: 0 / 383.1 MB, free: 13.75 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.000506/0.006708, allocations: 0.6117 MB / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.00675, allocations: 12.03 kB / 383.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.596e-05/0.006796, allocations: 32.75 kB / 383.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.006973, allocations: 216.6 kB / 384 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.00699, allocations: 8.375 kB / 384 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.007008, allocations: 8.359 kB / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.007148, allocations: 114.2 kB / 384.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.007158, allocations: 15.83 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.007167, allocations: 3.984 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.007173, allocations: 4 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.889e-05/0.007212, allocations: 27.95 kB / 384.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003595/0.007572, allocations: 471.1 kB / 384.6 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.007763, allocations: 117.9 kB / 384.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.371e-05/0.007807, allocations: 39.59 kB / 384.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.007822, allocations: 8 kB / 384.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001059/0.007928, allocations: 108.4 kB / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.007929, allocations: 3.938 kB / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006033/0.008532, allocations: 366.2 kB / 385.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.008565, allocations: 77.11 kB / 385.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.008777, allocations: 390.1 kB / 385.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.008797, allocations: 37.69 kB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.633e-05/0.008893, allocations: 231.2 kB / 386 MB, free: 10.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.741e-05/0.008941, allocations: 67.42 kB / 386 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.437e-05/0.008995, allocations: 51.34 kB / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.009135, allocations: 0.5273 MB / 386.6 MB, free: 10.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.116e-05/0.009166, allocations: 23.98 kB / 386.6 MB, free: 9.984 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.823e-05/0.009224, allocations: 79.94 kB / 386.7 MB, free: 9.891 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.562e-05/0.00932, allocations: 110.8 kB / 386.8 MB, free: 9.766 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.009321, allocations: 0 / 386.8 MB, free: 9.766 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001738/0.009495, allocations: 189.3 kB / 387 MB, free: 9.574 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.009506, allocations: 5.719 kB / 387 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.009512, allocations: 4 kB / 387 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.009523, allocations: 4 kB / 387 MB, free: 9.562 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.208e-05/0.009605, allocations: 43.92 kB / 387.1 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.00961, allocations: 4 kB / 387.1 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.383e-05/0.009654, allocations: 15.92 kB / 387.1 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.009662, allocations: 4 kB / 387.1 MB, free: 9.496 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 8.291e-05/0.009745, allocations: 176.5 kB / 387.3 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.009777, allocations: 39.88 kB / 387.3 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002323/0.01001, allocations: 220.5 kB / 387.5 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.01001, allocations: 4 kB / 387.5 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.01001, allocations: 0 / 387.5 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.01002, allocations: 7.922 kB / 387.5 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004638/0.01048, allocations: 0.6831 MB / 388.2 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01049, allocations: 3.938 kB / 388.2 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.037e-05/0.01054, allocations: 35.98 kB / 388.3 MB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.01054, allocations: 12.06 kB / 388.3 MB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.01055, allocations: 4 kB / 388.3 MB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01055, allocations: 0 / 388.3 MB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.01056, allocations: 7.938 kB / 388.3 MB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.01083, allocations: 0.5004 MB / 388.8 MB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.444e-05/0.01085, allocations: 27.75 kB / 388.8 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.01088, allocations: 8 kB / 388.8 MB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.271e-05/0.01097, allocations: 11.98 kB / 388.8 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.01101, allocations: 19.91 kB / 388.8 MB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.01102, allocations: 12 kB / 388.9 MB, free: 7.633 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001251/0.01115, allocations: 254.9 kB / 389.1 MB, free: 7.383 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01115, allocations: 4 kB / 389.1 MB, free: 7.379 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002177/0.01137, allocations: 51.92 kB / 389.2 MB, free: 7.328 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.001093/0.01246, allocations: 0.4912 MB / 389.7 MB, free: 7.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001592/0.01262, allocations: 123.7 kB / 389.8 MB, free: 6.895 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.01262, allocations: 0 / 389.8 MB, free: 6.895 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.674e-05/0.01269, allocations: 67.52 kB / 389.8 MB, free: 6.824 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.01303, allocations: 72.64 kB / 389.9 MB, free: 6.762 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005346/0.01356, allocations: 0.4899 MB / 390.4 MB, free: 6.219 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.079e-05/0.01363, allocations: 104.3 kB / 390.5 MB, free: 6.098 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.436e-05/0.0137, allocations: 33.94 kB / 390.5 MB, free: 6.066 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.01381, allocations: 118.2 kB / 390.7 MB, free: 5.949 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01381, allocations: 0 / 390.7 MB, free: 5.949 MB / 362.7 MB Notification: Performance of Templates: time 0.006081/0.01989, allocations: 3.682 MB / 394.3 MB, free: 2.324 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.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.2462265263311565]