Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 183.9 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.484/1.484, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0007985/0.0007986, allocations: 88.81 kB / 267 MB, free: 9.281 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.3659/0.3659, allocations: 43.48 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.051e-05/5.061e-05, allocations: 4 kB / 425.3 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1325, allocations: 58.85 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3844/0.517, allocations: 87.61 MB / 0.5584 GB, free: 16.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.5172, allocations: 80.45 kB / 0.5584 GB, free: 16.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01347/0.5307, allocations: 5.666 MB / 0.564 GB, free: 13.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5308, allocations: 0 / 0.564 GB, free: 13.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.5308, allocations: 0 / 0.564 GB, free: 13.2 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.0003706/0.5312, allocations: 414.8 kB / 0.5644 GB, free: 12.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.5312, allocations: 12.03 kB / 0.5644 GB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.507e-05/0.5313, allocations: 19.25 kB / 0.5644 GB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.5315, allocations: 221 kB / 0.5646 GB, free: 12.49 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.5316, allocations: 4 kB / 0.5646 GB, free: 12.49 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.5316, allocations: 3.984 kB / 0.5646 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.5317, allocations: 60.11 kB / 0.5647 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.5317, allocations: 0 / 0.5647 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.5318, allocations: 4.188 kB / 0.5647 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.5318, allocations: 0 / 0.5647 GB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.348e-05/0.5318, allocations: 19.44 kB / 0.5647 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003628/0.5322, allocations: 314.1 kB / 0.565 GB, free: 12.08 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.992e-05/0.5323, allocations: 56 kB / 0.5651 GB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.537e-05/0.5324, allocations: 23.03 kB / 0.5651 GB, free: 12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.5324, allocations: 4 kB / 0.5651 GB, free: 12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001097/0.5325, allocations: 62.28 kB / 0.5651 GB, free: 11.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.5325, allocations: 3.828 kB / 0.5651 GB, free: 11.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003996/0.5329, allocations: 175.8 kB / 0.5653 GB, free: 11.78 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.533, allocations: 51.41 kB / 0.5654 GB, free: 11.72 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.5332, allocations: 237 kB / 0.5656 GB, free: 11.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.5332, allocations: 25.7 kB / 0.5656 GB, free: 11.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.915e-05/0.5332, allocations: 115.7 kB / 0.5657 GB, free: 11.39 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.5333, allocations: 31.02 kB / 0.5658 GB, free: 11.36 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-06/0.5333, allocations: 0 / 0.5658 GB, free: 11.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.622e-05/0.5333, allocations: 325.5 kB / 0.5661 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.277e-05/0.5334, allocations: 18.25 kB / 0.5661 GB, free: 11.03 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.294e-05/0.5334, allocations: 39.95 kB / 0.5661 GB, free: 11 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.682e-05/0.5335, allocations: 22.88 kB / 0.5661 GB, free: 10.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.5335, allocations: 0 / 0.5661 GB, free: 10.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001256/0.5336, allocations: 107 kB / 0.5662 GB, free: 10.88 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.5336, allocations: 4 kB / 0.5662 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.5336, allocations: 0 / 0.5662 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.5336, allocations: 0 / 0.5662 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.78e-05/0.5337, allocations: 25.53 kB / 0.5663 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.5338, allocations: 8.094 kB / 0.5663 GB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.558e-05/0.5338, allocations: 7.984 kB / 0.5663 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.5338, allocations: 0 / 0.5663 GB, free: 10.84 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 5.566e-05/0.5339, allocations: 111.3 kB / 0.5664 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.5339, allocations: 19.84 kB / 0.5664 GB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001908/0.5341, allocations: 117.1 kB / 0.5665 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.5341, allocations: 4 kB / 0.5665 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.5341, allocations: 0 / 0.5665 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.5341, allocations: 3.953 kB / 0.5665 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003598/0.5345, allocations: 429.7 kB / 0.5669 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.5345, allocations: 0 / 0.5669 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.655e-05/0.5346, allocations: 12 kB / 0.567 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.5346, allocations: 4.031 kB / 0.567 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.5346, allocations: 2.75 kB / 0.567 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.5346, allocations: 9.172 kB / 0.567 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5346, allocations: 7.922 kB / 0.567 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.5348, allocations: 211.7 kB / 0.5672 GB, free: 9.934 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.5348, allocations: 108.3 kB / 0.5673 GB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.5349, allocations: 12.12 kB / 0.5673 GB, free: 9.801 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.345e-05/0.5349, allocations: 11.81 kB / 0.5673 GB, free: 9.793 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.535, allocations: 4 kB / 0.5673 GB, free: 9.789 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.535, allocations: 4.359 kB / 0.5673 GB, free: 9.785 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001398/0.5352, allocations: 200.3 kB / 0.5675 GB, free: 9.625 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5352, allocations: 0 / 0.5675 GB, free: 9.625 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002324/0.5354, allocations: 35.12 kB / 0.5675 GB, free: 9.594 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.0009395/0.5363, allocations: 423.9 kB / 0.5679 GB, free: 9.258 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001441/0.5365, allocations: 61.42 kB / 0.568 GB, free: 9.211 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.5365, allocations: 0 / 0.568 GB, free: 9.211 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.192e-05/0.5366, allocations: 31.5 kB / 0.568 GB, free: 9.188 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.5368, allocations: 26.3 kB / 0.5681 GB, free: 9.168 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003716/0.5372, allocations: 223.9 kB / 0.5683 GB, free: 8.949 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001701/0.5374, allocations: 0.723 MB / 0.569 GB, free: 8.207 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.316e-05/0.5374, allocations: 20.84 kB / 0.569 GB, free: 8.188 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.619e-05/0.5375, allocations: 23.44 kB / 0.569 GB, free: 8.164 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5375, allocations: 0 / 0.569 GB, free: 8.164 MB / 394.7 MB Notification: Performance of Templates: time 0.003861/0.5414, allocations: 1.836 MB / 0.5708 GB, free: 6.344 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches