Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.002403/0.002403, 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.002587/0.002587, allocations: 169.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.538/1.538, allocations: 177.1 MB / 204.6 MB, free: 5.582 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.3908/0.3908, allocations: 32.8 MB / 293.9 MB, free: 1.188 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 375.3 MB, free: 4.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.821e-05/2.998e-05, allocations: 10.31 kB / 375.4 MB, free: 4.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.005191/0.005221, allocations: 1.731 MB / 377.1 MB, free: 3.133 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002988/0.008209, allocations: 1.002 MB / 378.1 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.008312, allocations: 0 / 378.1 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003613/0.008673, allocations: 35.77 kB / 378.1 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005011/0.009174, allocations: 99.42 kB / 378.2 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003713/0.009545, allocations: 79.66 kB / 378.3 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003245/0.00987, allocations: 107.6 kB / 378.4 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.009996, allocations: 11.98 kB / 378.4 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.01018, allocations: 51.84 kB / 378.5 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.01031, allocations: 27.91 kB / 378.5 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.886e-05/0.01033, allocations: 4 kB / 378.5 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.0105, allocations: 47.86 kB / 378.5 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.685e-05/0.01058, allocations: 19.92 kB / 378.6 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.027e-05/0.01066, allocations: 27.84 kB / 378.6 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003695/0.01102, allocations: 115.6 kB / 378.7 MB, free: 1.508 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.01103, allocations: 0 / 378.7 MB, free: 1.508 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.01103, allocations: 0 / 378.7 MB, free: 1.508 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.01104, allocations: 0 / 378.7 MB, free: 1.508 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0009308/0.01197, allocations: 447.6 kB / 379.1 MB, free: 1.035 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.01201, allocations: 8.031 kB / 379.1 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.631e-05/0.0121, allocations: 20.84 kB / 379.2 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.01245, allocations: 157 kB / 379.3 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.01247, allocations: 4.375 kB / 379.3 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.01251, allocations: 8.359 kB / 379.3 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.0127, allocations: 50.25 kB / 379.4 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.01273, allocations: 7.922 kB / 379.4 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.01274, allocations: 4 kB / 379.4 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.01274, allocations: 3.938 kB / 379.4 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.01286, allocations: 12 kB / 379.4 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006002/0.01346, allocations: 303.7 kB / 379.7 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.01372, allocations: 71.16 kB / 379.8 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.691e-05/0.01381, allocations: 23.62 kB / 379.8 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.01383, allocations: 0 / 379.8 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000223/0.01406, allocations: 73.03 kB / 379.9 MB, free: 212 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.994e-06/0.01406, allocations: 0 / 379.9 MB, free: 212 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008439/0.0149, allocations: 173.4 kB / 380 MB, free: 32 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.102e-05/0.01499, allocations: 55.34 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003785/0.01537, allocations: 250.4 kB / 380.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.093e-05/0.01541, allocations: 29.7 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.01558, allocations: 166.7 kB / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.868e-05/0.01564, allocations: 23.8 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.773e-05/0.01573, allocations: 31.36 kB / 380.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004001/0.01613, allocations: 0.504 MB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.973e-05/0.01622, allocations: 19.98 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.01634, allocations: 39.38 kB / 381.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.01655, allocations: 75.22 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.01655, allocations: 0 / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003414/0.01689, allocations: 97.62 kB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.01691, allocations: 8 kB / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.01692, allocations: 8.016 kB / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.01694, allocations: 0 / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.01708, allocations: 15.94 kB / 381.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.01709, allocations: 4 kB / 381.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.777e-05/0.01717, allocations: 7.984 kB / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.01718, allocations: 4 kB / 381.4 MB, free: 14.62 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 (10): * Single equations (assignments): 10 * 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.0001966/0.01738, allocations: 164.5 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.277e-05/0.01743, allocations: 15.91 kB / 381.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004226/0.01786, allocations: 123.2 kB / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.01786, allocations: 4 kB / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.01786, allocations: 0 / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.01787, allocations: 4 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008392/0.01871, allocations: 417.3 kB / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.01871, allocations: 4 kB / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.948e-05/0.01878, allocations: 15.94 kB / 382.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.01878, allocations: 0 / 382.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.0188, allocations: 0 / 382.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.0188, allocations: 4 kB / 382.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.0188, allocations: 0 / 382.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004832/0.01929, allocations: 271.4 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.034e-05/0.01932, allocations: 15.94 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.808e-05/0.01936, allocations: 8 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.01949, allocations: 3.938 kB / 382.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/0.01954, allocations: 7.984 kB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.01957, allocations: 4 kB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002453/0.01982, allocations: 184.1 kB / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.01982, allocations: 0 / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004965/0.02031, allocations: 27.92 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.004751/0.02506, allocations: 494.3 kB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003283/0.02539, allocations: 75.47 kB / 383.2 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.0254, allocations: 0 / 383.2 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.02553, allocations: 43.61 kB / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005781/0.02611, allocations: 35.86 kB / 383.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007494/0.02686, allocations: 230 kB / 383.5 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.02703, allocations: 96.3 kB / 383.6 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.197e-05/0.02711, allocations: 17.27 kB / 383.6 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.371e-05/0.02717, allocations: 16.5 kB / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.02717, allocations: 0 / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of Templates: time 0.008223/0.0354, allocations: 1.86 MB / 385.5 MB, free: 10.62 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.167109995032661]