Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.001002/0.001002, allocations: 78.66 kB / 21.42 MB, free: 3.078 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.001136/0.001136, allocations: 169.7 kB / 24.82 MB, free: 9.266 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 0.9632/0.9632, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2618/0.2618, allocations: 32.81 MB / 294.6 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 376.6 MB, free: 4.316 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.17e-05, allocations: 6.25 kB / 376.6 MB, free: 4.309 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003441/0.003463, allocations: 1.774 MB / 378.3 MB, free: 2.52 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.005395, allocations: 0.9975 MB / 379.3 MB, free: 1.516 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.005498, allocations: 0 / 379.3 MB, free: 1.516 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004074/0.005905, allocations: 111.6 kB / 379.4 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004202/0.006325, allocations: 131.4 kB / 379.6 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.006602, allocations: 83.55 kB / 379.7 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002274/0.00683, allocations: 131.6 kB / 379.8 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.00694, allocations: 11.98 kB / 379.8 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.007101, allocations: 71.75 kB / 379.9 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.007242, allocations: 67.86 kB / 379.9 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.007265, allocations: 12 kB / 379.9 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.007402, allocations: 63.89 kB / 380 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.604e-05/0.007468, allocations: 31.86 kB / 380 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.717e-05/0.007525, allocations: 27.86 kB / 380.1 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.007786, allocations: 135.4 kB / 380.2 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.00779, allocations: 0 / 380.2 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.007791, allocations: 0 / 380.2 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.007797, allocations: 0 / 380.2 MB, free: 0.6523 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006147/0.008412, allocations: 487.5 kB / 380.7 MB, free: 144 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.008459, allocations: 12.03 kB / 380.7 MB, free: 132 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.268e-05/0.008521, allocations: 20.84 kB / 380.7 MB, free: 112 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.008774, allocations: 169.3 kB / 380.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.0088, allocations: 4.312 kB / 380.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.008828, allocations: 8.375 kB / 380.9 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.009008, allocations: 66.92 kB / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.009022, allocations: 3.938 kB / 381 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.009035, allocations: 7.984 kB / 381 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.009041, allocations: 0 / 381 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.544e-05/0.009107, allocations: 19.97 kB / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.009518, allocations: 284.2 kB / 381.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.009755, allocations: 63.02 kB / 381.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.535e-05/0.009801, allocations: 19.69 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.009824, allocations: 3.938 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001452/0.009969, allocations: 77 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.953e-06/0.009971, allocations: 0 / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007515/0.01072, allocations: 214 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.01076, allocations: 55.39 kB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.01097, allocations: 262.7 kB / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.01099, allocations: 33.7 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.911e-05/0.01109, allocations: 170.8 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.59e-05/0.01114, allocations: 43.62 kB / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.629e-05/0.0112, allocations: 31.36 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.01138, allocations: 0.5117 MB / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.386e-05/0.01143, allocations: 12 kB / 382.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-05/0.01149, allocations: 46.08 kB / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.882e-05/0.01159, allocations: 59.25 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.0116, allocations: 4 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000201/0.0118, allocations: 117.5 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.01182, allocations: 4 kB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.01182, allocations: 4 kB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.01184, allocations: 0 / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.77e-05/0.01194, allocations: 19.98 kB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.01194, allocations: 4.234 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.898e-05/0.01199, allocations: 4 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.01201, allocations: 7.984 kB / 383 MB, free: 13.63 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 (14): * Single equations (assignments): 14 * 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.0001238/0.01213, allocations: 179.8 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.842e-05/0.01217, allocations: 19.91 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002666/0.01244, allocations: 131.1 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.01244, allocations: 4 kB / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.01245, allocations: 0 / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.01245, allocations: 0 / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005253/0.01298, allocations: 437.1 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.01298, allocations: 4 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.698e-05/0.01305, allocations: 23.98 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.01306, allocations: 0 / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.01307, allocations: 4 kB / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.01307, allocations: 4.062 kB / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.01307, allocations: 4 kB / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.01337, allocations: 295 kB / 384.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.423e-05/0.01339, allocations: 19.86 kB / 384.1 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.01342, allocations: 4 kB / 384.1 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.375e-05/0.0135, allocations: 4 kB / 384.1 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.01355, allocations: 19.91 kB / 384.1 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.01357, allocations: 4 kB / 384.1 MB, free: 12.42 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001287/0.0137, allocations: 185.4 kB / 384.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.0137, allocations: 3.938 kB / 384.3 MB, free: 12.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003011/0.014, allocations: 35.94 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.001597/0.0156, allocations: 492.2 kB / 384.8 MB, free: 11.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001623/0.01576, allocations: 67.58 kB / 384.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01576, allocations: 4.062 kB / 384.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.185e-05/0.01584, allocations: 43.59 kB / 384.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.0162, allocations: 28.42 kB / 385 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000575/0.01677, allocations: 301.9 kB / 385.3 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.783e-05/0.01684, allocations: 79.83 kB / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.074e-05/0.01691, allocations: 25.25 kB / 385.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.01703, allocations: 98.12 kB / 385.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.01704, allocations: 0 / 385.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of Templates: time 0.006658/0.02369, allocations: 2.476 MB / 387.9 MB, free: 8.762 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.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.17057107295841]