Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001286/0.001286, allocations: 175.8 kB / 16.76 MB, free: 5.051 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.67/1.67, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0008025/0.0008024, allocations: 88.98 kB / 271.3 MB, free: 8.254 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.4174/0.4174, allocations: 43.57 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003875, allocations: 16 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1453, allocations: 58.86 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4027/0.5481, allocations: 87.58 MB / 0.5655 GB, free: 14.4 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/0.5484, allocations: 79.95 kB / 0.5656 GB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01469/0.5631, allocations: 5.24 MB / 0.5707 GB, free: 9.129 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.5632, allocations: 0 / 0.5707 GB, free: 9.129 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.112e-05/0.5632, allocations: 0 / 0.5707 GB, free: 9.129 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007778/0.564, allocations: 414 kB / 0.5711 GB, free: 8.676 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.048e-05/0.5641, allocations: 12.02 kB / 0.5711 GB, free: 8.664 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.24e-05/0.5642, allocations: 8.844 kB / 0.5711 GB, free: 8.656 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/0.5646, allocations: 227.1 kB / 0.5713 GB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.5646, allocations: 384 / 0.5713 GB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.5646, allocations: 384 / 0.5713 GB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.5648, allocations: 50.23 kB / 0.5714 GB, free: 8.344 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.5648, allocations: 192 / 0.5714 GB, free: 8.344 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.5648, allocations: 3.938 kB / 0.5714 GB, free: 8.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.5648, allocations: 0 / 0.5714 GB, free: 8.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.31e-05/0.5649, allocations: 19.98 kB / 0.5714 GB, free: 8.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002416/0.5652, allocations: 182.5 kB / 0.5716 GB, free: 8.094 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001532/0.5653, allocations: 62.55 kB / 0.5716 GB, free: 8.023 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.329e-05/0.5654, allocations: 20.84 kB / 0.5716 GB, free: 8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.5654, allocations: 4 kB / 0.5716 GB, free: 7.996 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.5656, allocations: 63.39 kB / 0.5717 GB, free: 7.922 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.483e-06/0.5656, allocations: 4 kB / 0.5717 GB, free: 7.918 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000295/0.5659, allocations: 105.5 kB / 0.5718 GB, free: 7.809 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.566, allocations: 51.41 kB / 0.5719 GB, free: 7.746 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.5662, allocations: 182.2 kB / 0.572 GB, free: 7.559 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.5662, allocations: 25.7 kB / 0.5721 GB, free: 7.527 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/0.5662, allocations: 100.1 kB / 0.5722 GB, free: 7.426 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.5663, allocations: 15.81 kB / 0.5722 GB, free: 7.41 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-06/0.5663, allocations: 0 / 0.5722 GB, free: 7.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.5664, allocations: 330.8 kB / 0.5725 GB, free: 7.078 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.101e-05/0.5665, allocations: 15.98 kB / 0.5725 GB, free: 7.062 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.639e-05/0.5666, allocations: 29.7 kB / 0.5725 GB, free: 7.027 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.5667, allocations: 49.64 kB / 0.5726 GB, free: 6.973 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.5667, allocations: 0 / 0.5726 GB, free: 6.973 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001569/0.5668, allocations: 77.59 kB / 0.5727 GB, free: 6.891 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.5669, allocations: 11.97 kB / 0.5727 GB, free: 6.879 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.5669, allocations: 0.7812 kB / 0.5727 GB, free: 6.879 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.5669, allocations: 0 / 0.5727 GB, free: 6.879 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.948e-05/0.567, allocations: 20.67 kB / 0.5727 GB, free: 6.859 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.567, allocations: 0 / 0.5727 GB, free: 6.859 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.691e-05/0.5671, allocations: 4 kB / 0.5727 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.5671, allocations: 4 kB / 0.5727 GB, free: 6.852 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 (7): * Single equations (assignments): 7 * 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.0001028/0.5672, allocations: 125.8 kB / 0.5728 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.5672, allocations: 15.75 kB / 0.5728 GB, free: 6.703 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001964/0.5674, allocations: 93.98 kB / 0.5729 GB, free: 6.609 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.5674, allocations: 7.922 kB / 0.5729 GB, free: 6.602 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.5674, allocations: 3.938 kB / 0.5729 GB, free: 6.598 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.5675, allocations: 3.984 kB / 0.5729 GB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.5676, allocations: 193.6 kB / 0.5731 GB, free: 6.355 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5676, allocations: 0 / 0.5731 GB, free: 6.355 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.752e-05/0.5677, allocations: 7.984 kB / 0.5731 GB, free: 6.348 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-06/0.5677, allocations: 3.938 kB / 0.5731 GB, free: 6.344 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.5677, allocations: 0 / 0.5731 GB, free: 6.344 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.5677, allocations: 384 / 0.5731 GB, free: 6.344 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5677, allocations: 4.156 kB / 0.5731 GB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.5679, allocations: 117 kB / 0.5732 GB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/0.568, allocations: 89 kB / 0.5733 GB, free: 6.102 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.568, allocations: 7.938 kB / 0.5733 GB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.864e-05/0.5681, allocations: 4 kB / 0.5733 GB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.5681, allocations: 0 / 0.5733 GB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.5681, allocations: 7.984 kB / 0.5733 GB, free: 6.082 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001177/0.5682, allocations: 148.7 kB / 0.5735 GB, free: 5.938 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5683, allocations: 0 / 0.5735 GB, free: 5.938 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002227/0.5685, allocations: 23.98 kB / 0.5735 GB, free: 5.914 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0009401/0.5694, allocations: 414.9 kB / 0.5739 GB, free: 5.598 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001597/0.5696, allocations: 43.98 kB / 0.5739 GB, free: 5.555 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5696, allocations: 0 / 0.5739 GB, free: 5.555 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.086e-05/0.5697, allocations: 27.98 kB / 0.574 GB, free: 5.527 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.5699, allocations: 23.98 kB / 0.574 GB, free: 5.504 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004626/0.5704, allocations: 219.4 kB / 0.5742 GB, free: 5.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.5707, allocations: 0.7082 MB / 0.5749 GB, free: 4.535 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.015e-05/0.5708, allocations: 8.438 kB / 0.5749 GB, free: 4.527 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.5708, allocations: 11.44 kB / 0.5749 GB, free: 4.516 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5708, allocations: 0 / 0.5749 GB, free: 4.516 MB / 394.7 MB Notification: Performance of Templates: time 0.004235/0.5751, allocations: 1.493 MB / 0.5764 GB, free: 3.035 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches