Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001721/0.001722, allocations: 183.7 kB / 15.76 MB, free: 6.367 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.828/1.828, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0009655/0.0009655, allocations: 90.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2268/0.2268, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003534, allocations: 12 kB / 431.4 MB, free: 19.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1504, allocations: 58.86 MB / 490.3 MB, free: 8.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4608/0.6113, allocations: 87.95 MB / 0.5647 GB, free: 11.87 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/0.6115, allocations: 76.14 kB / 0.5647 GB, free: 11.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01619/0.6277, allocations: 6.219 MB / 0.5708 GB, free: 6.812 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.6278, allocations: 0 / 0.5708 GB, free: 6.812 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.6278, allocations: 0 / 0.5708 GB, free: 6.812 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005486/0.6284, allocations: 412.9 kB / 0.5712 GB, free: 6.371 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.6284, allocations: 12.02 kB / 0.5712 GB, free: 6.359 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.209e-05/0.6285, allocations: 7.906 kB / 0.5712 GB, free: 6.352 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.6288, allocations: 218 kB / 0.5714 GB, free: 6.102 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.6288, allocations: 4 kB / 0.5714 GB, free: 6.098 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.6288, allocations: 7.438 kB / 0.5714 GB, free: 6.094 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.629, allocations: 73.19 kB / 0.5715 GB, free: 6.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.629, allocations: 3.938 kB / 0.5715 GB, free: 6.016 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.6291, allocations: 4 kB / 0.5715 GB, free: 6.012 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.6291, allocations: 0 / 0.5715 GB, free: 6.012 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.6292, allocations: 34.22 kB / 0.5715 GB, free: 5.984 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004099/0.6296, allocations: 305 kB / 0.5718 GB, free: 5.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.6298, allocations: 70.98 kB / 0.5719 GB, free: 5.598 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.6299, allocations: 3.938 kB / 0.5719 GB, free: 5.594 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.63, allocations: 81.94 kB / 0.572 GB, free: 5.512 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.63, allocations: 4 kB / 0.572 GB, free: 5.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006001/0.6306, allocations: 199.3 kB / 0.5722 GB, free: 5.348 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.6307, allocations: 85.06 kB / 0.5723 GB, free: 5.246 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.6309, allocations: 148.9 kB / 0.5724 GB, free: 5.105 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.6309, allocations: 33.45 kB / 0.5724 GB, free: 5.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.262e-05/0.631, allocations: 95.38 kB / 0.5725 GB, free: 4.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.401e-05/0.631, allocations: 30.19 kB / 0.5725 GB, free: 4.957 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-06/0.631, allocations: 0 / 0.5725 GB, free: 4.957 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.6312, allocations: 326.6 kB / 0.5729 GB, free: 4.633 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.455e-05/0.6312, allocations: 30.23 kB / 0.5729 GB, free: 4.613 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.674e-05/0.6313, allocations: 55.8 kB / 0.5729 GB, free: 4.562 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.732e-05/0.6314, allocations: 28.5 kB / 0.573 GB, free: 4.547 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.6314, allocations: 0 / 0.573 GB, free: 4.547 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001947/0.6316, allocations: 113.6 kB / 0.5731 GB, free: 4.449 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.6316, allocations: 8.062 kB / 0.5731 GB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.6317, allocations: 4 kB / 0.5731 GB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.6317, allocations: 0 / 0.5731 GB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.709e-05/0.6318, allocations: 27.91 kB / 0.5731 GB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.6318, allocations: 4.141 kB / 0.5731 GB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.91e-05/0.6319, allocations: 7.938 kB / 0.5731 GB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.6319, allocations: 3.938 kB / 0.5731 GB, free: 4.398 MB / 378.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 (11): * Single equations (assignments): 11 * 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.0001099/0.632, allocations: 125 kB / 0.5732 GB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.632, allocations: 7.906 kB / 0.5733 GB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003077/0.6323, allocations: 151.5 kB / 0.5734 GB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.6323, allocations: 0 / 0.5734 GB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.6324, allocations: 0 / 0.5734 GB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.6324, allocations: 7.953 kB / 0.5734 GB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005129/0.6329, allocations: 435.8 kB / 0.5738 GB, free: 3.691 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6329, allocations: 0 / 0.5738 GB, free: 3.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.867e-05/0.6329, allocations: 12 kB / 0.5738 GB, free: 3.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.633, allocations: 4.031 kB / 0.5738 GB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.633, allocations: 7.984 kB / 0.5738 GB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.633, allocations: 3.953 kB / 0.5739 GB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.633, allocations: 0 / 0.5739 GB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.6333, allocations: 238.2 kB / 0.5741 GB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/0.6334, allocations: 95.92 kB / 0.5742 GB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.6334, allocations: 3.953 kB / 0.5742 GB, free: 3.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.582e-05/0.6335, allocations: 14.98 kB / 0.5742 GB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.6335, allocations: 4 kB / 0.5742 GB, free: 3.305 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.6335, allocations: 7.984 kB / 0.5742 GB, free: 3.297 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001135/0.6337, allocations: 132.5 kB / 0.5743 GB, free: 3.184 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6337, allocations: 0 / 0.5743 GB, free: 3.184 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002868/0.634, allocations: 42.81 kB / 0.5744 GB, free: 3.148 MB / 378.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.001143/0.6351, allocations: 0.512 MB / 0.5749 GB, free: 2.695 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002117/0.6353, allocations: 75.16 kB / 0.5749 GB, free: 2.641 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6353, allocations: 4 kB / 0.5749 GB, free: 2.637 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.587e-05/0.6354, allocations: 38.86 kB / 0.575 GB, free: 2.609 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.6357, allocations: 34.92 kB / 0.575 GB, free: 2.582 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004547/0.6362, allocations: 234.2 kB / 0.5752 GB, free: 2.332 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.6365, allocations: 0.7004 MB / 0.5759 GB, free: 1.605 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.258e-05/0.6366, allocations: 21.23 kB / 0.5759 GB, free: 1.586 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.232e-05/0.6367, allocations: 30.98 kB / 0.576 GB, free: 1.559 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.6367, allocations: 0 / 0.576 GB, free: 1.559 MB / 378.7 MB Notification: Performance of Templates: time 0.004713/0.6414, allocations: 2.001 MB / 0.5779 GB, free: 15.57 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches