Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.0009806/0.0009806, allocations: 80.41 kB / 22.21 MB, free: 2.285 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.001268/0.001268, allocations: 174.4 kB / 25.61 MB, free: 8.914 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.9407/0.9407, allocations: 177.2 MB / 206.1 MB, free: 4.516 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.1558/0.1558, allocations: 34.26 MB / 296.9 MB, free: 13.93 MB / 282.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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 379.4 MB, free: 23.33 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.437e-05, allocations: 9.547 kB / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002257/0.002281, allocations: 1.735 MB / 381.1 MB, free: 21.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.003414, allocations: 0.9936 MB / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.092e-05/0.003485, allocations: 3.938 kB / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002521/0.003737, allocations: 35.83 kB / 382.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.004001, allocations: 107.4 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001777/0.004178, allocations: 83.59 kB / 382.3 MB, free: 20.35 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.004312, allocations: 111.6 kB / 382.5 MB, free: 20.24 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.345e-05/0.004385, allocations: 12 kB / 382.5 MB, free: 20.23 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.283e-05/0.004458, allocations: 43.89 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.388e-05/0.004522, allocations: 27.91 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.004535, allocations: 4 kB / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.652e-05/0.004612, allocations: 47.91 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.093e-05/0.004653, allocations: 27.86 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.964e-05/0.004682, allocations: 19.94 kB / 382.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.004827, allocations: 103.6 kB / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.004829, allocations: 0 / 382.7 MB, free: 19.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.00483, allocations: 3.938 kB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.004834, allocations: 0 / 382.7 MB, free: 19.95 MB / 314.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.0003299/0.005164, allocations: 455.8 kB / 383.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.005194, allocations: 12.03 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.005228, allocations: 12.84 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.005347, allocations: 156.4 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.005362, allocations: 12.3 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.005376, allocations: 384 / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.822e-05/0.005464, allocations: 62.94 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.005473, allocations: 7.922 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-06/0.005479, allocations: 0 / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.005484, allocations: 0 / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.503e-05/0.005509, allocations: 15.98 kB / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001914/0.005701, allocations: 256.4 kB / 383.7 MB, free: 18.89 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.012e-05/0.005781, allocations: 55.11 kB / 383.8 MB, free: 18.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.972e-05/0.0058, allocations: 11.69 kB / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-06/0.00581, allocations: 0 / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.387e-05/0.005894, allocations: 80.95 kB / 383.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.005895, allocations: 0 / 383.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002922/0.006187, allocations: 129.5 kB / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.001e-05/0.006207, allocations: 59.41 kB / 384 MB, free: 18.51 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.717e-05/0.006305, allocations: 242.2 kB / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.757e-06/0.006313, allocations: 25.7 kB / 384.3 MB, free: 18.22 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.668e-05/0.00635, allocations: 158.8 kB / 384.5 MB, free: 18.06 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.006373, allocations: 19.84 kB / 384.5 MB, free: 18.04 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.006407, allocations: 35.23 kB / 384.5 MB, free: 18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.21e-05/0.006449, allocations: 0.504 MB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.731e-05/0.006467, allocations: 4 kB / 385 MB, free: 17.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.596e-05/0.006493, allocations: 31.36 kB / 385 MB, free: 17.44 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.575e-05/0.006538, allocations: 55.41 kB / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.006539, allocations: 0 / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.689e-05/0.006636, allocations: 89.47 kB / 385.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.006647, allocations: 6.188 kB / 385.2 MB, free: 17.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.006651, allocations: 0 / 385.2 MB, free: 17.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.006661, allocations: 4 kB / 385.2 MB, free: 17.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.154e-05/0.006722, allocations: 19.92 kB / 385.2 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.305e-06/0.006725, allocations: 0 / 385.2 MB, free: 17.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.768e-05/0.006762, allocations: 4 kB / 385.2 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.006768, allocations: 4 kB / 385.2 MB, free: 17.25 MB / 314.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 5.074e-05/0.006819, allocations: 160.6 kB / 385.4 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.006837, allocations: 15.89 kB / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.00696, allocations: 103.1 kB / 385.5 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.006961, allocations: 0 / 385.5 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.006963, allocations: 4 kB / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.006967, allocations: 0 / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.007189, allocations: 369.5 kB / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.007191, allocations: 4 kB / 385.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.692e-05/0.007218, allocations: 8 kB / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.007221, allocations: 4.031 kB / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.007227, allocations: 0 / 385.9 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.007229, allocations: 8.359 kB / 385.9 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.007231, allocations: 0 / 385.9 MB, free: 16.53 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.007335, allocations: 255.7 kB / 386.1 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.116e-05/0.007347, allocations: 11.95 kB / 386.1 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.007364, allocations: 8 kB / 386.2 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.623e-05/0.00742, allocations: 0 / 386.2 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.293e-05/0.007443, allocations: 7.984 kB / 386.2 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.007454, allocations: 8 kB / 386.2 MB, free: 16.22 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.759e-05/0.007502, allocations: 172.1 kB / 386.3 MB, free: 16.05 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007502, allocations: 4 kB / 386.3 MB, free: 16.05 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000238/0.00774, allocations: 24 kB / 386.4 MB, free: 16.03 MB / 314.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.0009097/0.00865, allocations: 428 kB / 386.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001026/0.008752, allocations: 59.52 kB / 386.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.008754, allocations: 0 / 386.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.658e-05/0.00878, allocations: 27.67 kB / 386.9 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.008985, allocations: 41.19 kB / 386.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002427/0.009228, allocations: 239.9 kB / 387.1 MB, free: 15.37 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.39e-05/0.009252, allocations: 71.2 kB / 387.2 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.917e-05/0.009281, allocations: 12.97 kB / 387.2 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.981e-05/0.009331, allocations: 90.19 kB / 387.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.009331, allocations: 0 / 387.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of Templates: time 0.003178/0.01251, allocations: 2.063 MB / 389.4 MB, free: 13.14 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.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.158894533291459]