Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,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.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,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.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009398/0.0009396, allocations: 176.2 kB / 16.77 MB, free: 5.023 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.748/1.748, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.000856/0.000856, allocations: 79.42 kB / 271.3 MB, free: 8.262 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.3957/0.3957, allocations: 43.56 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004094/0.0004096, allocations: 12 kB / 432.6 MB, free: 4.973 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1233, allocations: 58.84 MB / 491.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3574/0.4807, allocations: 87.99 MB / 0.5659 GB, free: 13.87 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.481, allocations: 75.97 kB / 0.566 GB, free: 13.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01646/0.4975, allocations: 5.97 MB / 0.5718 GB, free: 7.871 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.4976, allocations: 3.938 kB / 0.5718 GB, free: 7.867 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.548e-05/0.4976, allocations: 0 / 0.5718 GB, free: 7.867 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.0006198/0.4982, allocations: 411.2 kB / 0.5722 GB, free: 7.418 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.4983, allocations: 8.031 kB / 0.5722 GB, free: 7.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.313e-05/0.4983, allocations: 13.47 kB / 0.5722 GB, free: 7.398 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003811/0.4987, allocations: 204.1 kB / 0.5724 GB, free: 7.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.4988, allocations: 8.359 kB / 0.5724 GB, free: 7.152 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.4988, allocations: 3.281 kB / 0.5724 GB, free: 7.152 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.499, allocations: 73.52 kB / 0.5725 GB, free: 7.07 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.499, allocations: 8.125 kB / 0.5725 GB, free: 7.062 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.499, allocations: 7.938 kB / 0.5725 GB, free: 7.055 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.659e-06/0.499, allocations: 4 kB / 0.5725 GB, free: 7.051 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.969e-05/0.4991, allocations: 15.98 kB / 0.5725 GB, free: 7.035 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004508/0.4996, allocations: 292.8 kB / 0.5728 GB, free: 6.699 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.4998, allocations: 62.56 kB / 0.5728 GB, free: 6.629 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.343e-05/0.4998, allocations: 24.84 kB / 0.5729 GB, free: 6.602 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.4999, allocations: 0 / 0.5729 GB, free: 6.602 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000145/0.5, allocations: 67.39 kB / 0.5729 GB, free: 6.523 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.704e-06/0.5, allocations: 0 / 0.5729 GB, free: 6.523 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005699/0.5006, allocations: 171 kB / 0.5731 GB, free: 6.352 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.5007, allocations: 81.09 kB / 0.5732 GB, free: 6.254 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.5008, allocations: 166.1 kB / 0.5733 GB, free: 6.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.5009, allocations: 29.7 kB / 0.5734 GB, free: 6.055 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.663e-05/0.5009, allocations: 96.12 kB / 0.5735 GB, free: 5.957 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.873e-05/0.501, allocations: 19.72 kB / 0.5735 GB, free: 5.938 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.501, allocations: 0 / 0.5735 GB, free: 5.938 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.5011, allocations: 326.8 kB / 0.5738 GB, free: 5.609 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.092e-05/0.5012, allocations: 23.92 kB / 0.5738 GB, free: 5.586 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.194e-05/0.5013, allocations: 46.56 kB / 0.5739 GB, free: 5.531 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.5014, allocations: 62.48 kB / 0.5739 GB, free: 5.465 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.5014, allocations: 0 / 0.5739 GB, free: 5.465 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002021/0.5016, allocations: 101.5 kB / 0.574 GB, free: 5.359 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.5016, allocations: 5.031 kB / 0.574 GB, free: 5.355 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.5017, allocations: 4.375 kB / 0.574 GB, free: 5.352 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.5017, allocations: 0 / 0.574 GB, free: 5.352 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.268e-05/0.5018, allocations: 20.06 kB / 0.574 GB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.5018, allocations: 4.141 kB / 0.574 GB, free: 5.328 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.198e-05/0.5019, allocations: 8 kB / 0.5741 GB, free: 5.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.5019, allocations: 7.984 kB / 0.5741 GB, free: 5.312 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.502, allocations: 124.2 kB / 0.5742 GB, free: 5.184 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.502, allocations: 15.91 kB / 0.5742 GB, free: 5.168 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002687/0.5023, allocations: 114.4 kB / 0.5743 GB, free: 5.051 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.5023, allocations: 0 / 0.5743 GB, free: 5.051 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.5023, allocations: 11.98 kB / 0.5743 GB, free: 5.039 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.5024, allocations: 0 / 0.5743 GB, free: 5.039 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005418/0.5029, allocations: 415 kB / 0.5747 GB, free: 4.574 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.5029, allocations: 0 / 0.5747 GB, free: 4.574 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.913e-05/0.503, allocations: 8 kB / 0.5747 GB, free: 4.566 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.503, allocations: 4 kB / 0.5747 GB, free: 4.562 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.503, allocations: 0 / 0.5747 GB, free: 4.562 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.503, allocations: 0 / 0.5747 GB, free: 4.562 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/0.503, allocations: 15.95 kB / 0.5747 GB, free: 4.547 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.5033, allocations: 208.2 kB / 0.5749 GB, free: 4.324 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.685e-05/0.5033, allocations: 89 kB / 0.575 GB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.5034, allocations: 8 kB / 0.575 GB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.948e-05/0.5035, allocations: 0 / 0.575 GB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.5035, allocations: 11.92 kB / 0.575 GB, free: 4.199 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.5035, allocations: 8 kB / 0.575 GB, free: 4.191 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001011/0.5036, allocations: 123.2 kB / 0.5752 GB, free: 4.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5036, allocations: 0 / 0.5752 GB, free: 4.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003058/0.504, allocations: 36 kB / 0.5752 GB, free: 4.035 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) * 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 (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.001145/0.5051, allocations: 0.5023 MB / 0.5757 GB, free: 3.629 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.5053, allocations: 67.89 kB / 0.5758 GB, free: 3.562 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5053, allocations: 0 / 0.5758 GB, free: 3.562 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.764e-05/0.5054, allocations: 31.98 kB / 0.5758 GB, free: 3.531 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.5058, allocations: 28.09 kB / 0.5758 GB, free: 3.504 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004872/0.5063, allocations: 216.1 kB / 0.576 GB, free: 3.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.5066, allocations: 0.7004 MB / 0.5767 GB, free: 2.543 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.1e-05/0.5067, allocations: 21.97 kB / 0.5767 GB, free: 2.523 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.798e-05/0.5068, allocations: 19.44 kB / 0.5767 GB, free: 2.508 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5068, allocations: 0 / 0.5767 GB, free: 2.508 MB / 394.7 MB Notification: Performance of Templates: time 0.004941/0.5117, allocations: 1.896 MB / 0.5786 GB, free: 0.625 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches