Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001199/0.001199, allocations: 185.7 kB / 13.19 MB, free: 2.121 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.46/1.46, allocations: 205.2 MB / 218.9 MB, free: 9.145 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.0009679/0.0009679, allocations: 84.45 kB / 267.1 MB, free: 9.266 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.3623/0.3623, allocations: 43.47 MB / 358.6 MB, free: 51.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.496e-05/3.499e-05, allocations: 7.984 kB / 425.3 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1309, allocations: 58.84 MB / 484.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3899/0.5209, allocations: 87.62 MB / 0.5584 GB, free: 16.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.5211, allocations: 77.06 kB / 0.5585 GB, free: 16.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01307/0.5342, allocations: 5.364 MB / 0.5637 GB, free: 13.37 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5342, allocations: 0 / 0.5637 GB, free: 13.37 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.5343, allocations: 0 / 0.5637 GB, free: 13.37 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.0003436/0.5346, allocations: 403.4 kB / 0.5641 GB, free: 12.96 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.5347, allocations: 8.031 kB / 0.5641 GB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.5347, allocations: 16.48 kB / 0.5641 GB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.535, allocations: 213.7 kB / 0.5643 GB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.535, allocations: 0 / 0.5643 GB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.535, allocations: 7.312 kB / 0.5643 GB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.5351, allocations: 52.03 kB / 0.5644 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.5352, allocations: 4 kB / 0.5644 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.5352, allocations: 1.547 kB / 0.5644 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.5352, allocations: 0 / 0.5644 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.346e-05/0.5352, allocations: 24.34 kB / 0.5644 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.5356, allocations: 287.2 kB / 0.5647 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.5357, allocations: 51.73 kB / 0.5647 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.485e-05/0.5357, allocations: 25.59 kB / 0.5647 GB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.5358, allocations: 7.938 kB / 0.5647 GB, free: 12.28 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001094/0.5359, allocations: 69.39 kB / 0.5648 GB, free: 12.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.5359, allocations: 0 / 0.5648 GB, free: 12.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003921/0.5363, allocations: 167.5 kB / 0.565 GB, free: 12.08 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.5363, allocations: 59.22 kB / 0.565 GB, free: 12.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.5365, allocations: 166.7 kB / 0.5652 GB, free: 11.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.5365, allocations: 29.7 kB / 0.5652 GB, free: 11.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.419e-05/0.5365, allocations: 103.5 kB / 0.5653 GB, free: 11.75 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.5366, allocations: 18.84 kB / 0.5653 GB, free: 11.74 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.5366, allocations: 4 kB / 0.5653 GB, free: 11.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.435e-05/0.5366, allocations: 320.8 kB / 0.5656 GB, free: 11.42 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.424e-05/0.5367, allocations: 20.75 kB / 0.5657 GB, free: 11.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.93e-05/0.5367, allocations: 37.09 kB / 0.5657 GB, free: 11.38 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.891e-05/0.5368, allocations: 24.2 kB / 0.5657 GB, free: 11.36 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.5368, allocations: 0 / 0.5657 GB, free: 11.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001248/0.5369, allocations: 105.7 kB / 0.5658 GB, free: 11.28 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.5369, allocations: 4 kB / 0.5658 GB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.5369, allocations: 0 / 0.5658 GB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.5369, allocations: 0 / 0.5658 GB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.443e-05/0.537, allocations: 22.75 kB / 0.5658 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.5371, allocations: 3.953 kB / 0.5658 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.234e-05/0.5371, allocations: 1.641 kB / 0.5658 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.5371, allocations: 8.031 kB / 0.5659 GB, free: 11.24 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.246e-05/0.5372, allocations: 111.2 kB / 0.566 GB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.5372, allocations: 7.906 kB / 0.566 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001862/0.5374, allocations: 124.1 kB / 0.5661 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.5374, allocations: 1.312 kB / 0.5661 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.5374, allocations: 0 / 0.5661 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.5374, allocations: 13.06 kB / 0.5661 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003345/0.5378, allocations: 410.6 kB / 0.5665 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.5378, allocations: 4 kB / 0.5665 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.59e-05/0.5378, allocations: 8 kB / 0.5665 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5378, allocations: 0 / 0.5665 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.5378, allocations: 4 kB / 0.5665 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.5378, allocations: 3.953 kB / 0.5665 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5379, allocations: 3.984 kB / 0.5665 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.538, allocations: 220.2 kB / 0.5667 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.73e-05/0.5381, allocations: 88.95 kB / 0.5668 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.5381, allocations: 11.14 kB / 0.5668 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.901e-05/0.5382, allocations: 3.984 kB / 0.5668 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.5382, allocations: 7.984 kB / 0.5668 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.5382, allocations: 7.938 kB / 0.5668 GB, free: 10.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.649e-05/0.5383, allocations: 144.6 kB / 0.567 GB, free: 10.13 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5383, allocations: 0 / 0.567 GB, free: 10.13 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002206/0.5385, allocations: 35.48 kB / 0.567 GB, free: 10.1 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.0008399/0.5394, allocations: 416.8 kB / 0.5674 GB, free: 9.762 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001179/0.5395, allocations: 65.17 kB / 0.5675 GB, free: 9.711 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5395, allocations: 0 / 0.5675 GB, free: 9.711 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.9e-05/0.5396, allocations: 37.05 kB / 0.5675 GB, free: 9.684 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.5398, allocations: 18.67 kB / 0.5675 GB, free: 9.668 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002935/0.5401, allocations: 166.1 kB / 0.5677 GB, free: 9.496 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.5403, allocations: 0.715 MB / 0.5684 GB, free: 8.758 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.694e-05/0.5403, allocations: 16.84 kB / 0.5684 GB, free: 8.742 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.401e-05/0.5404, allocations: 15.44 kB / 0.5684 GB, free: 8.727 MB / 394.7 MB Notification: Performance of SimCode: time 2.1e-07/0.5404, allocations: 0 / 0.5684 GB, free: 8.727 MB / 394.7 MB Notification: Performance of Templates: time 0.003481/0.5439, allocations: 1.689 MB / 0.5701 GB, free: 7.055 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches