Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001201/0.001201, allocations: 183.4 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.501/1.501, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0009127/0.0009126, allocations: 96.75 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.3666/0.3666, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.548e-05/3.55e-05, allocations: 8 kB / 425.3 MB, free: 8.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1334, allocations: 58.85 MB / 484.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3781/0.5116, allocations: 87.58 MB / 0.5583 GB, free: 16.53 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.5119, allocations: 74.59 kB / 0.5584 GB, free: 16.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01363/0.5256, allocations: 5.272 MB / 0.5636 GB, free: 13.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5256, allocations: 0 / 0.5636 GB, free: 13.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.5257, allocations: 4 kB / 0.5636 GB, free: 13.48 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.0003916/0.5261, allocations: 396.9 kB / 0.5639 GB, free: 13.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.5261, allocations: 12.03 kB / 0.564 GB, free: 13.06 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.346e-05/0.5262, allocations: 11.34 kB / 0.564 GB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.5264, allocations: 217.5 kB / 0.5642 GB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.5265, allocations: 4.594 kB / 0.5642 GB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.5265, allocations: 7.188 kB / 0.5642 GB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.5266, allocations: 50.38 kB / 0.5642 GB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.5266, allocations: 1.406 kB / 0.5642 GB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.5267, allocations: 5.375 kB / 0.5642 GB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.5267, allocations: 4 kB / 0.5642 GB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.773e-05/0.5267, allocations: 20.59 kB / 0.5643 GB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003548/0.5271, allocations: 296.2 kB / 0.5645 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.5272, allocations: 51.77 kB / 0.5646 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.543e-05/0.5273, allocations: 21.86 kB / 0.5646 GB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.5273, allocations: 0 / 0.5646 GB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000111/0.5274, allocations: 71.31 kB / 0.5647 GB, free: 12.33 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.5274, allocations: 3.938 kB / 0.5647 GB, free: 12.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004109/0.5278, allocations: 167 kB / 0.5648 GB, free: 12.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.5279, allocations: 51.41 kB / 0.5649 GB, free: 12.13 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.528, allocations: 168 kB / 0.5651 GB, free: 11.99 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.898e-06/0.528, allocations: 33.7 kB / 0.5651 GB, free: 11.95 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.072e-05/0.5281, allocations: 101.8 kB / 0.5652 GB, free: 11.87 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.5281, allocations: 25.86 kB / 0.5652 GB, free: 11.85 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.5281, allocations: 0 / 0.5652 GB, free: 11.85 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.249e-05/0.5282, allocations: 322.4 kB / 0.5655 GB, free: 11.53 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.411e-05/0.5282, allocations: 21.06 kB / 0.5655 GB, free: 11.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.951e-05/0.5282, allocations: 30.86 kB / 0.5656 GB, free: 11.49 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.083e-05/0.5283, allocations: 24.52 kB / 0.5656 GB, free: 11.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.5283, allocations: 0 / 0.5656 GB, free: 11.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001251/0.5284, allocations: 104.7 kB / 0.5657 GB, free: 11.39 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.5285, allocations: 4 kB / 0.5657 GB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.5285, allocations: 0 / 0.5657 GB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.5285, allocations: 4 kB / 0.5657 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.798e-05/0.5286, allocations: 16.31 kB / 0.5657 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.5286, allocations: 12.03 kB / 0.5657 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.324e-05/0.5286, allocations: 4 kB / 0.5657 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.5287, allocations: 8.672 kB / 0.5657 GB, free: 11.35 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.136e-05/0.5287, allocations: 111.4 kB / 0.5658 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.701e-05/0.5287, allocations: 11.91 kB / 0.5659 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001973/0.5289, allocations: 114.3 kB / 0.566 GB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.529, allocations: 5.688 kB / 0.566 GB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.529, allocations: 96 / 0.566 GB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.529, allocations: 7.891 kB / 0.566 GB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003428/0.5293, allocations: 409.3 kB / 0.5664 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.5293, allocations: 3.984 kB / 0.5664 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.646e-05/0.5294, allocations: 11.56 kB / 0.5664 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.5294, allocations: 0 / 0.5664 GB, free: 10.72 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.5294, allocations: 4 kB / 0.5664 GB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.5294, allocations: 3.953 kB / 0.5664 GB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5294, allocations: 0 / 0.5664 GB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.5296, allocations: 215.3 kB / 0.5666 GB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.639e-05/0.5296, allocations: 101 kB / 0.5667 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.5297, allocations: 11.89 kB / 0.5667 GB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.11e-05/0.5297, allocations: 7.75 kB / 0.5667 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.5298, allocations: 7.984 kB / 0.5667 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.5298, allocations: 0 / 0.5667 GB, free: 10.36 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.358e-05/0.5299, allocations: 146.1 kB / 0.5669 GB, free: 10.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5299, allocations: 0 / 0.5669 GB, free: 10.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002417/0.5301, allocations: 30.69 kB / 0.5669 GB, free: 10.21 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.000842/0.531, allocations: 416.2 kB / 0.5673 GB, free: 9.875 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001315/0.5311, allocations: 61.17 kB / 0.5673 GB, free: 9.832 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5311, allocations: 8 kB / 0.5673 GB, free: 9.824 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.144e-05/0.5312, allocations: 31.19 kB / 0.5674 GB, free: 9.801 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.5314, allocations: 23.84 kB / 0.5674 GB, free: 9.781 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003053/0.5317, allocations: 169.6 kB / 0.5676 GB, free: 9.605 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.5319, allocations: 0.7043 MB / 0.5682 GB, free: 8.875 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.739e-05/0.5319, allocations: 24.91 kB / 0.5683 GB, free: 8.852 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.659e-05/0.532, allocations: 18.94 kB / 0.5683 GB, free: 8.836 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.532, allocations: 0 / 0.5683 GB, free: 8.836 MB / 394.7 MB Notification: Performance of Templates: time 0.00358/0.5356, allocations: 1.685 MB / 0.5699 GB, free: 7.168 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches