Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001287/0.001287, allocations: 183.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.31/1.31, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008167/0.0008166, allocations: 97.23 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3529/0.3529, allocations: 43.47 MB / 358.6 MB, free: 51.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.83e-05/3.832e-05, allocations: 12 kB / 425.3 MB, free: 8.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1258, allocations: 58.85 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.357/0.4829, allocations: 87.62 MB / 0.5584 GB, free: 16.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.4831, allocations: 78.64 kB / 0.5585 GB, free: 16.38 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.013/0.4962, allocations: 5.548 MB / 0.5639 GB, free: 13.21 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4962, allocations: 0 / 0.5639 GB, free: 13.21 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.4962, allocations: 0 / 0.5639 GB, free: 13.21 MB / 394.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.0003205/0.4965, allocations: 406.8 kB / 0.5643 GB, free: 12.79 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.4966, allocations: 8.031 kB / 0.5643 GB, free: 12.79 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.4966, allocations: 15.25 kB / 0.5643 GB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.4969, allocations: 225.4 kB / 0.5645 GB, free: 12.53 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.4969, allocations: 11.67 kB / 0.5645 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.4969, allocations: 1.781 kB / 0.5645 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.487e-05/0.497, allocations: 50.48 kB / 0.5646 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.497, allocations: 0 / 0.5646 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.4971, allocations: 6.781 kB / 0.5646 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.4971, allocations: 0.875 kB / 0.5646 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.971e-05/0.4971, allocations: 17.27 kB / 0.5646 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002812/0.4974, allocations: 310 kB / 0.5649 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.481e-05/0.4975, allocations: 53.03 kB / 0.5649 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.418e-05/0.4976, allocations: 18.38 kB / 0.5649 GB, free: 12.1 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.4976, allocations: 0 / 0.5649 GB, free: 12.1 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001002/0.4977, allocations: 72.72 kB / 0.565 GB, free: 12.03 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.4977, allocations: 7.938 kB / 0.565 GB, free: 12.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003719/0.4981, allocations: 157.5 kB / 0.5652 GB, free: 11.9 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/0.4981, allocations: 55.41 kB / 0.5652 GB, free: 11.83 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.4983, allocations: 195.9 kB / 0.5654 GB, free: 11.67 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.4983, allocations: 35.62 kB / 0.5654 GB, free: 11.64 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.125e-05/0.4983, allocations: 110.5 kB / 0.5656 GB, free: 11.54 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.4984, allocations: 23.28 kB / 0.5656 GB, free: 11.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.4984, allocations: 3.688 kB / 0.5656 GB, free: 11.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.488e-05/0.4984, allocations: 330.6 kB / 0.5659 GB, free: 11.19 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.127e-05/0.4985, allocations: 19.12 kB / 0.5659 GB, free: 11.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.786e-05/0.4985, allocations: 35.66 kB / 0.5659 GB, free: 11.15 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.648e-05/0.4986, allocations: 23.17 kB / 0.566 GB, free: 11.13 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.4986, allocations: 0 / 0.566 GB, free: 11.13 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001184/0.4987, allocations: 96.84 kB / 0.5661 GB, free: 11.05 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.4987, allocations: 8 kB / 0.5661 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.4987, allocations: 0 / 0.5661 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.4987, allocations: 4.031 kB / 0.5661 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.96e-05/0.4988, allocations: 15.98 kB / 0.5661 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.4988, allocations: 7.953 kB / 0.5661 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.266e-05/0.4989, allocations: 0 / 0.5661 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.4989, allocations: 4 kB / 0.5661 GB, free: 11.01 MB / 394.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.402e-05/0.4989, allocations: 113.7 kB / 0.5662 GB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.929e-05/0.499, allocations: 15.8 kB / 0.5662 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.4991, allocations: 119.7 kB / 0.5663 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.4992, allocations: 8 kB / 0.5663 GB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.4992, allocations: 3.984 kB / 0.5664 GB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.4992, allocations: 3.953 kB / 0.5664 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003115/0.4995, allocations: 414.2 kB / 0.5667 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4995, allocations: 0 / 0.5667 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.542e-05/0.4995, allocations: 11.98 kB / 0.5668 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4995, allocations: 0 / 0.5668 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.4996, allocations: 4 kB / 0.5668 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.4996, allocations: 8.828 kB / 0.5668 GB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4996, allocations: 0 / 0.5668 GB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.4997, allocations: 218.5 kB / 0.567 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.57e-05/0.4998, allocations: 98.41 kB / 0.5671 GB, free: 9.996 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.4998, allocations: 15.33 kB / 0.5671 GB, free: 9.984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.939e-05/0.4999, allocations: 0 / 0.5671 GB, free: 9.984 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.248e-05/0.4999, allocations: 11.98 kB / 0.5671 GB, free: 9.973 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.4999, allocations: 7.375 kB / 0.5671 GB, free: 9.969 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001009/0.5, allocations: 167.5 kB / 0.5673 GB, free: 9.832 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5, allocations: 0 / 0.5673 GB, free: 9.832 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002241/0.5003, allocations: 39.36 kB / 0.5673 GB, free: 9.797 MB / 394.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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007924/0.5011, allocations: 430.2 kB / 0.5677 GB, free: 9.441 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001125/0.5012, allocations: 61.97 kB / 0.5678 GB, free: 9.395 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5012, allocations: 0 / 0.5678 GB, free: 9.395 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.502e-05/0.5013, allocations: 27.38 kB / 0.5678 GB, free: 9.375 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.5015, allocations: 25.64 kB / 0.5678 GB, free: 9.355 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003007/0.5018, allocations: 202.4 kB / 0.568 GB, free: 9.152 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.5019, allocations: 0.7152 MB / 0.5687 GB, free: 8.414 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.148e-05/0.502, allocations: 20.84 kB / 0.5687 GB, free: 8.395 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.502, allocations: 18.5 kB / 0.5688 GB, free: 8.379 MB / 394.7 MB Notification: Performance of SimCode: time 2.8e-07/0.502, allocations: 0 / 0.5688 GB, free: 8.379 MB / 394.7 MB Notification: Performance of Templates: time 0.003343/0.5054, allocations: 1.753 MB / 0.5705 GB, free: 6.637 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches