Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,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.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,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.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009787/0.0009787, 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.341/1.341, 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.0008362/0.0008363, allocations: 97.28 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.312/0.312, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.714e-05/2.716e-05, allocations: 4 kB / 425.3 MB, free: 8.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09711/0.09715, allocations: 58.85 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3201/0.4173, allocations: 87.84 MB / 0.5586 GB, free: 16.26 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000184/0.4175, allocations: 71.58 kB / 0.5587 GB, free: 16.23 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01359/0.4311, allocations: 5.77 MB / 0.5643 GB, free: 13.13 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4312, allocations: 0 / 0.5643 GB, free: 13.13 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.4312, allocations: 4 kB / 0.5643 GB, free: 13.13 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.000335/0.4315, allocations: 399 kB / 0.5647 GB, free: 12.72 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.4316, allocations: 8.031 kB / 0.5647 GB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.4316, allocations: 12.89 kB / 0.5647 GB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.4318, allocations: 199.5 kB / 0.5649 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.4319, allocations: 5 kB / 0.5649 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.4319, allocations: 4.719 kB / 0.5649 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.432, allocations: 69.14 kB / 0.565 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.432, allocations: 0 / 0.565 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.432, allocations: 4.656 kB / 0.565 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-06/0.432, allocations: 0 / 0.565 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.329e-05/0.4321, allocations: 20.92 kB / 0.565 GB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002781/0.4324, allocations: 293.9 kB / 0.5653 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.572e-05/0.4325, allocations: 56.3 kB / 0.5653 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.122e-05/0.4325, allocations: 23.67 kB / 0.5654 GB, free: 12.03 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.4326, allocations: 3.828 kB / 0.5654 GB, free: 12.03 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.674e-05/0.4327, allocations: 68.45 kB / 0.5654 GB, free: 11.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.4327, allocations: 0 / 0.5654 GB, free: 11.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003641/0.433, allocations: 153.9 kB / 0.5656 GB, free: 11.83 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.4331, allocations: 81.11 kB / 0.5656 GB, free: 11.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.395e-05/0.4332, allocations: 146.9 kB / 0.5658 GB, free: 11.6 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.4332, allocations: 28.77 kB / 0.5658 GB, free: 11.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.392e-05/0.4332, allocations: 97.69 kB / 0.5659 GB, free: 11.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.4333, allocations: 22.53 kB / 0.5659 GB, free: 11.46 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.4333, allocations: 0 / 0.5659 GB, free: 11.46 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.433e-05/0.4333, allocations: 325.3 kB / 0.5662 GB, free: 11.14 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.264e-05/0.4334, allocations: 18.62 kB / 0.5663 GB, free: 11.12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.719e-05/0.4334, allocations: 43.62 kB / 0.5663 GB, free: 11.08 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.853e-05/0.4334, allocations: 23.44 kB / 0.5663 GB, free: 11.07 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.4335, allocations: 0 / 0.5663 GB, free: 11.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001155/0.4336, allocations: 102.3 kB / 0.5664 GB, free: 10.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.4336, allocations: 7.953 kB / 0.5664 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.4336, allocations: 0 / 0.5664 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.4336, allocations: 4 kB / 0.5664 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.019e-05/0.4337, allocations: 19.92 kB / 0.5665 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.4337, allocations: 0 / 0.5665 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.504e-05/0.4338, allocations: 11.5 kB / 0.5665 GB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.4338, allocations: 0 / 0.5665 GB, free: 10.94 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.199e-05/0.4338, allocations: 110 kB / 0.5666 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.676e-05/0.4338, allocations: 11.91 kB / 0.5666 GB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001701/0.434, allocations: 119.9 kB / 0.5667 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.434, allocations: 0 / 0.5667 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.434, allocations: 0 / 0.5667 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.4341, allocations: 0 / 0.5667 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.4343, allocations: 403.4 kB / 0.5671 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4343, allocations: 3.953 kB / 0.5671 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.594e-05/0.4344, allocations: 8 kB / 0.5671 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4344, allocations: 0 / 0.5671 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.4344, allocations: 11.17 kB / 0.5671 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4344, allocations: 0 / 0.5671 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4344, allocations: 3.938 kB / 0.5671 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.4346, allocations: 224.5 kB / 0.5673 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.044e-05/0.4346, allocations: 89.39 kB / 0.5674 GB, free: 9.953 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.4346, allocations: 3.984 kB / 0.5674 GB, free: 9.949 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.4347, allocations: 7.312 kB / 0.5674 GB, free: 9.945 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.4348, allocations: 11.92 kB / 0.5674 GB, free: 9.934 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.4348, allocations: 4 kB / 0.5674 GB, free: 9.93 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.116e-05/0.4348, allocations: 124.2 kB / 0.5675 GB, free: 9.824 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4348, allocations: 0 / 0.5675 GB, free: 9.824 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002391/0.4351, allocations: 38.62 kB / 0.5676 GB, free: 9.789 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.0008387/0.4359, allocations: 459.7 kB / 0.568 GB, free: 9.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001141/0.436, allocations: 56.88 kB / 0.5681 GB, free: 9.371 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.4361, allocations: 0 / 0.5681 GB, free: 9.371 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.734e-05/0.4361, allocations: 35.58 kB / 0.5681 GB, free: 9.344 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.4363, allocations: 27.95 kB / 0.5681 GB, free: 9.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002484/0.4366, allocations: 134.7 kB / 0.5683 GB, free: 9.184 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.4367, allocations: 0.7082 MB / 0.569 GB, free: 8.449 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.48e-05/0.4368, allocations: 14.05 kB / 0.569 GB, free: 8.438 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.4368, allocations: 19.42 kB / 0.569 GB, free: 8.418 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4368, allocations: 4 kB / 0.569 GB, free: 8.414 MB / 394.7 MB Notification: Performance of Templates: time 0.003472/0.4403, allocations: 1.905 MB / 0.5709 GB, free: 6.527 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches