Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.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.00335/0.00335, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.00136/0.00136, allocations: 158.1 kB / 24.98 MB, free: 9.289 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.091/1.091, allocations: 177.1 MB / 205.3 MB, free: 5.586 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.2867/0.2867, allocations: 34.26 MB / 296 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.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 378.1 MB, free: 2.836 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.706e-05/2.88e-05, allocations: 2.312 kB / 378.1 MB, free: 2.832 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.002571/0.0026, allocations: 1.75 MB / 379.9 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.004417, allocations: 1.738 MB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.359e-05/0.0045, allocations: 0 / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002795/0.00478, allocations: 35.84 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00031/0.00509, allocations: 103.4 kB / 381.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001606/0.00525, allocations: 79.55 kB / 381.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.005412, allocations: 111.7 kB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.64e-05/0.005508, allocations: 8 kB / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.722e-05/0.005596, allocations: 63.75 kB / 382 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.005699, allocations: 35.42 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.005715, allocations: 4 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/0.005863, allocations: 99.81 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.545e-05/0.005919, allocations: 27.91 kB / 382.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.899e-05/0.005958, allocations: 23.88 kB / 382.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.006187, allocations: 163.5 kB / 382.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.006189, allocations: 0 / 382.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.00619, allocations: 0 / 382.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.006194, allocations: 0 / 382.3 MB, free: 14.58 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004669/0.006661, allocations: 451.8 kB / 382.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.006695, allocations: 8.031 kB / 382.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.232e-05/0.006748, allocations: 12.89 kB / 382.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.006925, allocations: 149 kB / 383 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.006947, allocations: 8.359 kB / 383 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.00697, allocations: 12.3 kB / 383 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.007121, allocations: 111.4 kB / 383.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.007131, allocations: 3.953 kB / 383.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.007142, allocations: 0 / 383.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.007149, allocations: 4 kB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.73e-05/0.007187, allocations: 15.98 kB / 383.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003044/0.007491, allocations: 287.7 kB / 383.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.007599, allocations: 51.11 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.031e-05/0.00763, allocations: 19.69 kB / 383.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.00764, allocations: 4 kB / 383.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001011/0.007741, allocations: 69.03 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.007743, allocations: 0 / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004034/0.008146, allocations: 149.4 kB / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.008185, allocations: 77.11 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.008341, allocations: 220 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.008355, allocations: 25.7 kB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.138e-05/0.008407, allocations: 146.9 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.008432, allocations: 31.72 kB / 384.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/0.008468, allocations: 31.36 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.008585, allocations: 0.5 MB / 384.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.453e-05/0.008609, allocations: 12 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.705e-05/0.008656, allocations: 68.75 kB / 384.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.391e-05/0.00871, allocations: 47.44 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.008711, allocations: 4 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001078/0.008819, allocations: 93.45 kB / 384.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.008834, allocations: 8 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.008838, allocations: 0 / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.00885, allocations: 0 / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.398e-05/0.008924, allocations: 23.98 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.00893, allocations: 4 kB / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.099e-05/0.008961, allocations: 4 kB / 385 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.008967, allocations: 4 kB / 385 MB, free: 11.71 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 7.277e-05/0.00904, allocations: 164.5 kB / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.009056, allocations: 11.95 kB / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001667/0.009223, allocations: 102.4 kB / 385.2 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.009225, allocations: 0 / 385.2 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.009229, allocations: 4 kB / 385.2 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.009233, allocations: 0 / 385.2 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/0.00952, allocations: 396.9 kB / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.009521, allocations: 384 / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.63e-05/0.009548, allocations: 8 kB / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.009551, allocations: 8 kB / 385.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.009559, allocations: 0 / 385.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.009562, allocations: 3.984 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.009564, allocations: 4 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.009708, allocations: 259.4 kB / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.016e-05/0.009718, allocations: 3.953 kB / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.009737, allocations: 4.031 kB / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.337e-05/0.009781, allocations: 8 kB / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.009817, allocations: 15.86 kB / 385.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.009829, allocations: 4 kB / 385.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.436e-05/0.009904, allocations: 162 kB / 386.1 MB, free: 10.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009904, allocations: 0 / 386.1 MB, free: 10.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002107/0.01011, allocations: 47.86 kB / 386.1 MB, free: 10.45 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.001423/0.01154, allocations: 0.5445 MB / 386.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.01166, allocations: 51.59 kB / 386.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01166, allocations: 64 / 386.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.909e-05/0.0117, allocations: 35.67 kB / 386.8 MB, free: 10 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.01192, allocations: 45.25 kB / 386.8 MB, free: 9.965 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003373/0.01226, allocations: 201.8 kB / 387 MB, free: 9.734 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.923e-05/0.0123, allocations: 71.33 kB / 387.1 MB, free: 9.645 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.268e-05/0.01234, allocations: 13.28 kB / 387.1 MB, free: 9.629 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.521e-05/0.01238, allocations: 24.48 kB / 387.1 MB, free: 9.605 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01238, allocations: 8.062 kB / 387.1 MB, free: 9.598 MB / 362.7 MB Notification: Performance of Templates: time 0.004162/0.01654, allocations: 2.51 MB / 389.6 MB, free: 7.109 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.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.4010082378517836]