Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.001093/0.001093, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001117/0.001117, allocations: 161 kB / 24.56 MB, free: 16 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 0.9911/0.9911, allocations: 177.1 MB / 205 MB, free: 5.633 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.3038/0.3038, allocations: 32.81 MB / 294.3 MB, free: 1.289 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 376.1 MB, free: 4.594 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.952e-05/3.147e-05, allocations: 6.312 kB / 376.1 MB, free: 4.586 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002728/0.002759, allocations: 1.848 MB / 377.9 MB, free: 2.723 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002044/0.004803, allocations: 1.095 MB / 379 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.00492, allocations: 0 / 379 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005034/0.005424, allocations: 303 kB / 379.3 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004716/0.005895, allocations: 259 kB / 379.6 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.00619, allocations: 111.6 kB / 379.7 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003282/0.006519, allocations: 267.2 kB / 379.9 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.701e-05/0.006566, allocations: 5.812 kB / 379.9 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.006727, allocations: 151.6 kB / 380.1 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.006912, allocations: 208.1 kB / 380.3 MB, free: 352 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.006933, allocations: 4 kB / 380.3 MB, free: 348 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.666e-05/0.00702, allocations: 47.92 kB / 380.3 MB, free: 300 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.007138, allocations: 140.5 kB / 380.5 MB, free: 160 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.253e-05/0.007211, allocations: 75.66 kB / 380.6 MB, free: 84 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002922/0.007503, allocations: 274.9 kB / 380.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.007506, allocations: 0 / 380.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.007507, allocations: 0 / 380.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.007514, allocations: 4 kB / 380.8 MB, free: 15.81 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007034/0.008217, allocations: 0.7824 MB / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.008256, allocations: 8.031 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.428e-05/0.00833, allocations: 56.61 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003341/0.008664, allocations: 328.7 kB / 382 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.008686, allocations: 4.375 kB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.0087, allocations: 4.375 kB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.008863, allocations: 98.28 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.008877, allocations: 3.938 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.008888, allocations: 0 / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.008898, allocations: 4 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.627e-05/0.008945, allocations: 27.83 kB / 382.1 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002779/0.009223, allocations: 308.2 kB / 382.4 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.009378, allocations: 102.2 kB / 382.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.321e-05/0.009421, allocations: 35.36 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.009438, allocations: 0 / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001336/0.009571, allocations: 112.3 kB / 382.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 8.12e-07/0.009572, allocations: 0 / 382.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002823/0.009854, allocations: 173.2 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.009896, allocations: 81.11 kB / 382.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004946/0.01039, allocations: 0.7018 MB / 383.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.01041, allocations: 29.7 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.01055, allocations: 298.8 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.01059, allocations: 35.84 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.01062, allocations: 27.38 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.01079, allocations: 0.5625 MB / 384.6 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.263e-05/0.01082, allocations: 12 kB / 384.6 MB, free: 11.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.467e-05/0.01086, allocations: 58.36 kB / 384.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.797e-05/0.01094, allocations: 75.17 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01094, allocations: 0 / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001538/0.0111, allocations: 165.2 kB / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.01111, allocations: 8 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.01112, allocations: 3.938 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.01113, allocations: 0 / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.415e-05/0.01122, allocations: 23.98 kB / 384.9 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.01122, allocations: 0 / 384.9 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.635e-05/0.01132, allocations: 11.94 kB / 384.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.01133, allocations: 4 kB / 384.9 MB, free: 11.42 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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 9.514e-05/0.01143, allocations: 173.1 kB / 385.1 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.561e-05/0.01147, allocations: 55.69 kB / 385.2 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002206/0.01169, allocations: 169.8 kB / 385.3 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.0117, allocations: 4 kB / 385.3 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.0117, allocations: 0 / 385.3 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.01171, allocations: 3.984 kB / 385.3 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.01192, allocations: 308.5 kB / 385.6 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01192, allocations: 0 / 385.6 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.903e-05/0.01195, allocations: 12 kB / 385.6 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.01195, allocations: 3.938 kB / 385.6 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.01197, allocations: 7.984 kB / 385.7 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.01197, allocations: 3.938 kB / 385.7 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.01197, allocations: 4 kB / 385.7 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.01215, allocations: 215.9 kB / 385.9 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.471e-05/0.01221, allocations: 59.59 kB / 385.9 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.01224, allocations: 8 kB / 385.9 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.257e-05/0.01228, allocations: 11.94 kB / 386 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.01232, allocations: 7.984 kB / 386 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.01233, allocations: 7.984 kB / 386 MB, free: 10.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003026/0.01264, allocations: 478.8 kB / 386.4 MB, free: 9.844 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01264, allocations: 0 / 386.4 MB, free: 9.844 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001689/0.01281, allocations: 40 kB / 386.5 MB, free: 9.805 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0008957/0.0137, allocations: 401.1 kB / 386.9 MB, free: 9.547 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.01388, allocations: 71.64 kB / 386.9 MB, free: 9.473 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01389, allocations: 4.062 kB / 386.9 MB, free: 9.469 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-05/0.01394, allocations: 39.61 kB / 387 MB, free: 9.426 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.01422, allocations: 73.25 kB / 387 MB, free: 9.355 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006574/0.01487, allocations: 0.6519 MB / 387.7 MB, free: 8.668 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.033e-05/0.01495, allocations: 136.2 kB / 387.8 MB, free: 8.516 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.211e-05/0.01502, allocations: 38.94 kB / 387.9 MB, free: 8.473 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.023e-05/0.01507, allocations: 32.5 kB / 387.9 MB, free: 8.441 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01507, allocations: 0 / 387.9 MB, free: 8.441 MB / 362.7 MB Notification: Performance of Templates: time 0.006052/0.02112, allocations: 4.022 MB / 391.9 MB, free: 4.461 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.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.46278922772035]