Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.002192/0.002192, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001875/0.001875, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 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.542/1.542, allocations: 177.1 MB / 204.6 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 178] 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.3709/0.3709, allocations: 32.79 MB / 293.9 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 179] 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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 375.4 MB, free: 4.859 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.239e-05/3.391e-05, allocations: 5.406 kB / 375.4 MB, free: 4.855 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003879/0.003913, allocations: 1.914 MB / 377.3 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002342/0.006255, allocations: 1.087 MB / 378.4 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.006364, allocations: 4 kB / 378.4 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005303/0.006894, allocations: 227.2 kB / 378.6 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005418/0.007436, allocations: 215.1 kB / 378.8 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.007757, allocations: 123.5 kB / 378.9 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003848/0.008142, allocations: 263.2 kB / 379.2 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.008274, allocations: 21.95 kB / 379.2 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003727/0.008647, allocations: 151.5 kB / 379.3 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002355/0.008882, allocations: 151.7 kB / 379.5 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.456e-05/0.008917, allocations: 8 kB / 379.5 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.009087, allocations: 63.92 kB / 379.6 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.009209, allocations: 63.77 kB / 379.6 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.286e-05/0.009302, allocations: 47.78 kB / 379.7 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003923/0.009695, allocations: 243 kB / 379.9 MB, free: 288 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.009699, allocations: 0 / 379.9 MB, free: 288 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.0097, allocations: 0 / 379.9 MB, free: 288 kB / 346.7 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.009707, allocations: 0 / 379.9 MB, free: 288 kB / 346.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.0009819/0.01069, allocations: 0.6155 MB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.01073, allocations: 11.97 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.771e-05/0.01082, allocations: 36.75 kB / 380.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.01121, allocations: 228.6 kB / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.01123, allocations: 4.375 kB / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.01126, allocations: 8.375 kB / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002586/0.01152, allocations: 117.5 kB / 380.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.01153, allocations: 7.875 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.01155, allocations: 0 / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.01155, allocations: 4 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.01169, allocations: 39.97 kB / 381 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008173/0.0125, allocations: 0.5491 MB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000454/0.01296, allocations: 134.2 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.01309, allocations: 51.42 kB / 381.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.0131, allocations: 0 / 381.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003/0.0134, allocations: 136 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 9.72e-07/0.0134, allocations: 0 / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001592/0.01499, allocations: 0.5247 MB / 382.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.281e-05/0.01508, allocations: 85.05 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005242/0.0156, allocations: 442.3 kB / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.01564, allocations: 29.7 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002455/0.01588, allocations: 231.3 kB / 383.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.016, allocations: 75.42 kB / 383.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.01611, allocations: 55.36 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004495/0.01656, allocations: 0.5391 MB / 383.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.01675, allocations: 51.98 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.01703, allocations: 106.7 kB / 384 MB, free: 11.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004583/0.01749, allocations: 170.8 kB / 384.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01749, allocations: 0 / 384.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007162/0.0182, allocations: 249.2 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.286e-05/0.01824, allocations: 4 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.01825, allocations: 0 / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.999e-05/0.01828, allocations: 4 kB / 384.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.01851, allocations: 39.92 kB / 384.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.962e-05/0.01853, allocations: 12 kB / 384.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.01866, allocations: 11.98 kB / 384.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.01869, allocations: 11.94 kB / 384.4 MB, free: 11.46 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.0002571/0.01894, allocations: 176.5 kB / 384.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.01905, allocations: 43.77 kB / 384.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008231/0.01987, allocations: 260.9 kB / 384.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.01988, allocations: 4 kB / 384.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.01989, allocations: 7.875 kB / 384.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.0199, allocations: 0 / 384.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/0.0216, allocations: 0.8192 MB / 385.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.0216, allocations: 0 / 385.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.02176, allocations: 35.92 kB / 385.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/0.02176, allocations: 4 kB / 385.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.02179, allocations: 8 kB / 385.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.0218, allocations: 0 / 385.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.0218, allocations: 4 kB / 385.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.02287, allocations: 0.5427 MB / 386.3 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.717e-05/0.02293, allocations: 23.81 kB / 386.4 MB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.977e-05/0.023, allocations: 20.11 kB / 386.4 MB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.02325, allocations: 8 kB / 386.4 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.823e-05/0.02334, allocations: 19.97 kB / 386.4 MB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.59e-05/0.02338, allocations: 12 kB / 386.4 MB, free: 9.371 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005006/0.02388, allocations: 302.9 kB / 386.7 MB, free: 9.074 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.02388, allocations: 0 / 386.7 MB, free: 9.074 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006664/0.02455, allocations: 51.89 kB / 386.8 MB, free: 9.023 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.005413/0.02996, allocations: 0.5628 MB / 387.3 MB, free: 8.699 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006242/0.03059, allocations: 168.2 kB / 387.5 MB, free: 8.531 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.03059, allocations: 0 / 387.5 MB, free: 8.531 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003368/0.03093, allocations: 95.52 kB / 387.6 MB, free: 8.434 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.03202, allocations: 65.98 kB / 387.7 MB, free: 8.371 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.0336, allocations: 0.5207 MB / 388.2 MB, free: 7.797 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.0339, allocations: 166.2 kB / 388.3 MB, free: 7.617 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001826/0.03408, allocations: 49.91 kB / 388.4 MB, free: 7.566 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.0342, allocations: 32.48 kB / 388.4 MB, free: 7.535 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.0342, allocations: 0 / 388.4 MB, free: 7.535 MB / 362.7 MB Notification: Performance of Templates: time 0.01243/0.04663, allocations: 3.319 MB / 391.7 MB, free: 4.266 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.077669452992268]