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.001948/0.001948, allocations: 177 kB / 8.005 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.3 MB / 213.7 MB, free: 1.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008552/0.0008554, allocations: 82.14 kB / 261.7 MB, free: 1.629 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.228/0.228, allocations: 43.49 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.475e-05/2.477e-05, allocations: 8 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.14, allocations: 58.86 MB / 477.1 MB, free: 1.625 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4559/0.596, allocations: 86.96 MB / 0.5509 GB, free: 7.973 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.5963, allocations: 82.91 kB / 0.5509 GB, free: 7.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01268/0.609, allocations: 5.325 MB / 0.5561 GB, free: 3.723 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.6091, allocations: 0 / 0.5561 GB, free: 3.723 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.6091, allocations: 3.938 kB / 0.5561 GB, free: 3.719 MB / 362.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.0004126/0.6095, allocations: 390 kB / 0.5565 GB, free: 3.301 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.6096, allocations: 15.95 kB / 0.5565 GB, free: 3.285 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.406e-05/0.6096, allocations: 11.91 kB / 0.5565 GB, free: 3.273 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.6099, allocations: 214.3 kB / 0.5567 GB, free: 3.035 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.6099, allocations: 3.984 kB / 0.5567 GB, free: 3.031 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.6099, allocations: 4 kB / 0.5568 GB, free: 3.027 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.548e-05/0.61, allocations: 11.81 kB / 0.5568 GB, free: 3.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.741e-05/0.6101, allocations: 53.86 kB / 0.5568 GB, free: 2.969 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.6101, allocations: 0 / 0.5568 GB, free: 2.969 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.6101, allocations: 4 kB / 0.5568 GB, free: 2.965 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.6102, allocations: 0 / 0.5568 GB, free: 2.965 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003269/0.6105, allocations: 268.6 kB / 0.5571 GB, free: 2.684 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.929e-05/0.6106, allocations: 50.38 kB / 0.5571 GB, free: 2.637 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.205e-05/0.6106, allocations: 20.73 kB / 0.5571 GB, free: 2.617 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.6107, allocations: 4 kB / 0.5571 GB, free: 2.613 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001128/0.6108, allocations: 66.89 kB / 0.5572 GB, free: 2.543 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.914e-06/0.6108, allocations: 0 / 0.5572 GB, free: 2.543 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000411/0.6112, allocations: 148.3 kB / 0.5574 GB, free: 2.414 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.6112, allocations: 55.34 kB / 0.5574 GB, free: 2.348 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.6114, allocations: 174.6 kB / 0.5576 GB, free: 2.195 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.6114, allocations: 29.7 kB / 0.5576 GB, free: 2.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.743e-05/0.6114, allocations: 95.95 kB / 0.5577 GB, free: 2.074 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.6115, allocations: 27.64 kB / 0.5577 GB, free: 2.051 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-06/0.6115, allocations: 0 / 0.5577 GB, free: 2.051 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.22e-05/0.6115, allocations: 322.7 kB / 0.558 GB, free: 1.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.944e-05/0.6116, allocations: 19.31 kB / 0.558 GB, free: 1.719 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.623e-05/0.6116, allocations: 33.2 kB / 0.5581 GB, free: 1.688 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.744e-05/0.6117, allocations: 23.5 kB / 0.5581 GB, free: 1.676 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.6117, allocations: 0 / 0.5581 GB, free: 1.676 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001134/0.6118, allocations: 100.8 kB / 0.5582 GB, free: 1.586 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.6118, allocations: 4 kB / 0.5582 GB, free: 1.582 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.6118, allocations: 0 / 0.5582 GB, free: 1.582 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.6118, allocations: 0 / 0.5582 GB, free: 1.582 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.601e-05/0.6119, allocations: 20.12 kB / 0.5582 GB, free: 1.562 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.6119, allocations: 4 kB / 0.5582 GB, free: 1.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.206e-05/0.612, allocations: 7.984 kB / 0.5582 GB, free: 1.551 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.612, allocations: 3.953 kB / 0.5582 GB, free: 1.547 MB / 362.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 6.178e-05/0.6121, allocations: 105 kB / 0.5583 GB, free: 1.438 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.726e-05/0.6121, allocations: 15.92 kB / 0.5583 GB, free: 1.422 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001815/0.6123, allocations: 113.3 kB / 0.5585 GB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.6123, allocations: 4 kB / 0.5585 GB, free: 1.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.6123, allocations: 0 / 0.5585 GB, free: 1.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.6123, allocations: 0 / 0.5585 GB, free: 1.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000309/0.6126, allocations: 381.7 kB / 0.5588 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.6126, allocations: 0 / 0.5588 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.621e-05/0.6127, allocations: 16.03 kB / 0.5588 GB, free: 0.9258 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.6127, allocations: 288 / 0.5588 GB, free: 0.9258 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.6127, allocations: 0 / 0.5588 GB, free: 0.9258 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.6127, allocations: 4 kB / 0.5588 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.6127, allocations: 3.938 kB / 0.5588 GB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.6129, allocations: 209.3 kB / 0.559 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-05/0.6129, allocations: 100.8 kB / 0.5591 GB, free: 0.5898 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.613, allocations: 4 kB / 0.5591 GB, free: 0.5859 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.824e-05/0.613, allocations: 0 / 0.5591 GB, free: 0.5859 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.6131, allocations: 15.88 kB / 0.5592 GB, free: 0.5703 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.6131, allocations: 7.062 kB / 0.5592 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.48e-05/0.6132, allocations: 139.2 kB / 0.5593 GB, free: 460 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6132, allocations: 0 / 0.5593 GB, free: 460 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.00025/0.6134, allocations: 28 kB / 0.5593 GB, free: 432 kB / 362.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.0008133/0.6143, allocations: 392.3 kB / 0.5597 GB, free: 92 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001153/0.6144, allocations: 63.69 kB / 0.5598 GB, free: 48 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.6144, allocations: 0 / 0.5598 GB, free: 48 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.205e-05/0.6144, allocations: 22.75 kB / 0.5598 GB, free: 32 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.6147, allocations: 22.47 kB / 0.5598 GB, free: 12 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000387/0.6151, allocations: 165.3 kB / 0.56 GB, free: 15.83 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.6154, allocations: 0.7151 MB / 0.5607 GB, free: 15.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.43e-05/0.6155, allocations: 16.55 kB / 0.5607 GB, free: 15.08 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/0.6155, allocations: 19.42 kB / 0.5607 GB, free: 15.06 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6155, allocations: 0 / 0.5607 GB, free: 15.06 MB / 378.7 MB Notification: Performance of Templates: time 0.004091/0.6196, allocations: 1.622 MB / 0.5623 GB, free: 13.46 MB / 378.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