Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 180.9 kB / 8.006 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.714/1.714, allocations: 205.3 MB / 213.7 MB, free: 1.742 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.0008177/0.0008176, allocations: 90.62 kB / 261.7 MB, free: 1.684 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.2083/0.2083, allocations: 43.5 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.312e-05/2.313e-05, allocations: 8 kB / 418.3 MB, free: 28.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.133, allocations: 58.86 MB / 477.1 MB, free: 1.621 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4709/0.604, allocations: 86.92 MB / 0.5508 GB, free: 8.023 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.6043, allocations: 80.55 kB / 0.5509 GB, free: 7.984 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01262/0.6169, allocations: 5.235 MB / 0.556 GB, free: 3.848 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.617, allocations: 0 / 0.556 GB, free: 3.848 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.617, allocations: 3.938 kB / 0.556 GB, free: 3.844 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.0003773/0.6174, allocations: 386 kB / 0.5564 GB, free: 3.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.6174, allocations: 12.03 kB / 0.5564 GB, free: 3.418 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.675e-05/0.6175, allocations: 11.89 kB / 0.5564 GB, free: 3.406 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.6178, allocations: 221.5 kB / 0.5566 GB, free: 3.164 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.6178, allocations: 4 kB / 0.5566 GB, free: 3.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.6178, allocations: 3.984 kB / 0.5566 GB, free: 3.156 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.588e-05/0.6179, allocations: 15.56 kB / 0.5566 GB, free: 3.145 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.595e-05/0.618, allocations: 52.8 kB / 0.5567 GB, free: 3.094 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.618, allocations: 7.922 kB / 0.5567 GB, free: 3.086 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.618, allocations: 0 / 0.5567 GB, free: 3.086 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.6181, allocations: 4 kB / 0.5567 GB, free: 3.082 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003193/0.6184, allocations: 263 kB / 0.557 GB, free: 2.805 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.484e-05/0.6185, allocations: 53.06 kB / 0.557 GB, free: 2.754 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.301e-05/0.6185, allocations: 20.36 kB / 0.557 GB, free: 2.738 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.6185, allocations: 0 / 0.557 GB, free: 2.738 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001145/0.6187, allocations: 70.45 kB / 0.5571 GB, free: 2.664 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.6187, allocations: 0 / 0.5571 GB, free: 2.664 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004384/0.6191, allocations: 142.2 kB / 0.5572 GB, free: 2.539 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.6192, allocations: 59.34 kB / 0.5573 GB, free: 2.469 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.6193, allocations: 176.7 kB / 0.5575 GB, free: 2.316 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.6193, allocations: 25.7 kB / 0.5575 GB, free: 2.285 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.45e-05/0.6194, allocations: 94.2 kB / 0.5576 GB, free: 2.199 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.6194, allocations: 22.7 kB / 0.5576 GB, free: 2.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.6194, allocations: 4 kB / 0.5576 GB, free: 2.176 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.974e-05/0.6195, allocations: 325.4 kB / 0.5579 GB, free: 1.855 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.518e-05/0.6195, allocations: 17.81 kB / 0.5579 GB, free: 1.844 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.364e-05/0.6196, allocations: 39.11 kB / 0.558 GB, free: 1.812 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.564e-05/0.6196, allocations: 26.3 kB / 0.558 GB, free: 1.793 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.6196, allocations: 0 / 0.558 GB, free: 1.793 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001342/0.6198, allocations: 85.69 kB / 0.5581 GB, free: 1.715 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.6198, allocations: 16.02 kB / 0.5581 GB, free: 1.699 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/0.6198, allocations: 0 / 0.5581 GB, free: 1.699 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.6198, allocations: 0 / 0.5581 GB, free: 1.699 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.6199, allocations: 18.69 kB / 0.5581 GB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.6199, allocations: 4 kB / 0.5581 GB, free: 1.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.138e-05/0.62, allocations: 4.172 kB / 0.5581 GB, free: 1.676 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.62, allocations: 11.95 kB / 0.5581 GB, free: 1.664 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 5.971e-05/0.6201, allocations: 102.4 kB / 0.5582 GB, free: 1.559 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.046e-05/0.6201, allocations: 11.91 kB / 0.5582 GB, free: 1.547 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002064/0.6203, allocations: 117 kB / 0.5583 GB, free: 1.445 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.6203, allocations: 0 / 0.5583 GB, free: 1.445 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.6204, allocations: 96 / 0.5583 GB, free: 1.445 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.6204, allocations: 3.938 kB / 0.5583 GB, free: 1.441 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003412/0.6207, allocations: 380.7 kB / 0.5587 GB, free: 1.062 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.6207, allocations: 0 / 0.5587 GB, free: 1.062 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.483e-05/0.6208, allocations: 11.98 kB / 0.5587 GB, free: 1.051 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.6208, allocations: 8.031 kB / 0.5587 GB, free: 1.043 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.6208, allocations: 0 / 0.5587 GB, free: 1.043 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.6208, allocations: 0 / 0.5587 GB, free: 1.043 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.676e-06/0.6208, allocations: 0 / 0.5587 GB, free: 1.043 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.621, allocations: 211.3 kB / 0.5589 GB, free: 0.8281 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-05/0.6211, allocations: 100.5 kB / 0.559 GB, free: 0.7148 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.6211, allocations: 0 / 0.559 GB, free: 0.7148 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.458e-05/0.6212, allocations: 8 kB / 0.559 GB, free: 0.707 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.6212, allocations: 15.88 kB / 0.559 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.6212, allocations: 7.625 kB / 0.559 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.119e-05/0.6213, allocations: 132.2 kB / 0.5592 GB, free: 0.5742 MB / 362.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6214, allocations: 0 / 0.5592 GB, free: 0.5742 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002895/0.6216, allocations: 31.81 kB / 0.5592 GB, free: 0.5469 MB / 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.0009342/0.6226, allocations: 392.2 kB / 0.5596 GB, free: 228 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001369/0.6227, allocations: 53.55 kB / 0.5596 GB, free: 188 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.6228, allocations: 4.062 kB / 0.5596 GB, free: 184 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.09e-05/0.6228, allocations: 26.88 kB / 0.5597 GB, free: 164 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.6231, allocations: 27.41 kB / 0.5597 GB, free: 144 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.6235, allocations: 167.3 kB / 0.5598 GB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.6238, allocations: 0.708 MB / 0.5605 GB, free: 15.22 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.655e-05/0.6239, allocations: 12.62 kB / 0.5605 GB, free: 15.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.766e-05/0.624, allocations: 23.11 kB / 0.5606 GB, free: 15.19 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.624, allocations: 0 / 0.5606 GB, free: 15.19 MB / 378.7 MB Notification: Performance of Templates: time 0.004511/0.6285, allocations: 1.622 MB / 0.5622 GB, free: 13.59 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches