Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 177.6 kB / 8.002 MB, free: 1.07 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.674/1.674, allocations: 205.3 MB / 213.7 MB, free: 1.73 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.0008939/0.0008939, allocations: 86.3 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.2173/0.2173, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.664e-05/2.667e-05, allocations: 8 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1408, allocations: 58.86 MB / 477.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.473/0.6138, allocations: 86.92 MB / 0.5508 GB, free: 8.059 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.6141, allocations: 76.81 kB / 0.5509 GB, free: 8.023 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01242/0.6265, allocations: 5.228 MB / 0.556 GB, free: 3.895 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.6266, allocations: 0 / 0.556 GB, free: 3.895 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.6266, allocations: 7.938 kB / 0.556 GB, free: 3.887 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.0004016/0.627, allocations: 397.8 kB / 0.5564 GB, free: 3.465 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.6271, allocations: 8.031 kB / 0.5564 GB, free: 3.457 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.948e-05/0.6271, allocations: 8.656 kB / 0.5564 GB, free: 3.449 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.6274, allocations: 218.4 kB / 0.5566 GB, free: 3.203 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.6274, allocations: 0 / 0.5566 GB, free: 3.203 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.6274, allocations: 4 kB / 0.5566 GB, free: 3.199 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.272e-05/0.6275, allocations: 19.67 kB / 0.5566 GB, free: 3.184 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.255e-05/0.6276, allocations: 49.38 kB / 0.5567 GB, free: 3.137 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.6276, allocations: 0 / 0.5567 GB, free: 3.137 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.6277, allocations: 4 kB / 0.5567 GB, free: 3.133 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.6277, allocations: 3.938 kB / 0.5567 GB, free: 3.129 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003212/0.628, allocations: 275.9 kB / 0.557 GB, free: 2.844 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.567e-05/0.6281, allocations: 46.14 kB / 0.557 GB, free: 2.801 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.334e-05/0.6281, allocations: 20.78 kB / 0.557 GB, free: 2.781 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.6282, allocations: 0 / 0.557 GB, free: 2.781 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001021/0.6283, allocations: 62.78 kB / 0.5571 GB, free: 2.715 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.6283, allocations: 4 kB / 0.5571 GB, free: 2.711 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004043/0.6287, allocations: 152.3 kB / 0.5572 GB, free: 2.578 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.48e-05/0.6287, allocations: 55.34 kB / 0.5573 GB, free: 2.512 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.6289, allocations: 174.1 kB / 0.5574 GB, free: 2.359 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.6289, allocations: 25.7 kB / 0.5575 GB, free: 2.328 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.096e-05/0.6289, allocations: 99.75 kB / 0.5576 GB, free: 2.238 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.629, allocations: 23.59 kB / 0.5576 GB, free: 2.219 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.629, allocations: 0 / 0.5576 GB, free: 2.219 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.899e-05/0.629, allocations: 322.8 kB / 0.5579 GB, free: 1.898 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.056e-05/0.6291, allocations: 23.48 kB / 0.5579 GB, free: 1.883 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.639e-05/0.6291, allocations: 33.47 kB / 0.5579 GB, free: 1.852 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.67e-05/0.6292, allocations: 19.67 kB / 0.558 GB, free: 1.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6292, allocations: 4 kB / 0.558 GB, free: 1.836 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001119/0.6293, allocations: 96.44 kB / 0.5581 GB, free: 1.754 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.6293, allocations: 4 kB / 0.5581 GB, free: 1.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.6293, allocations: 4 kB / 0.5581 GB, free: 1.746 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.6293, allocations: 0 / 0.5581 GB, free: 1.746 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.995e-05/0.6294, allocations: 19.92 kB / 0.5581 GB, free: 1.727 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.6295, allocations: 0 / 0.5581 GB, free: 1.727 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.257e-05/0.6295, allocations: 4 kB / 0.5581 GB, free: 1.723 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.6295, allocations: 7.953 kB / 0.5581 GB, free: 1.715 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.176e-05/0.6296, allocations: 105 kB / 0.5582 GB, free: 1.605 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.6296, allocations: 15.94 kB / 0.5582 GB, free: 1.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.6298, allocations: 117.7 kB / 0.5583 GB, free: 1.488 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.6298, allocations: 0 / 0.5583 GB, free: 1.488 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.6298, allocations: 288 / 0.5583 GB, free: 1.488 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.6299, allocations: 0 / 0.5583 GB, free: 1.488 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/0.6302, allocations: 385.8 kB / 0.5587 GB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.6302, allocations: 3.938 kB / 0.5587 GB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.823e-05/0.6302, allocations: 12.03 kB / 0.5587 GB, free: 1.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.6302, allocations: 0 / 0.5587 GB, free: 1.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.6302, allocations: 7.984 kB / 0.5587 GB, free: 1.082 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.6302, allocations: 0 / 0.5587 GB, free: 1.082 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.6302, allocations: 0 / 0.5587 GB, free: 1.082 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.6304, allocations: 209.5 kB / 0.5589 GB, free: 0.8672 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.752e-05/0.6304, allocations: 96.73 kB / 0.559 GB, free: 0.7578 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.6305, allocations: 4 kB / 0.559 GB, free: 0.7539 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.166e-05/0.6306, allocations: 7.984 kB / 0.559 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.6306, allocations: 11.89 kB / 0.559 GB, free: 0.7344 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.6306, allocations: 7.938 kB / 0.559 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.141e-05/0.6307, allocations: 134.1 kB / 0.5592 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.02e-07/0.6307, allocations: 0 / 0.5592 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002368/0.631, allocations: 35.92 kB / 0.5592 GB, free: 0.582 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.000805/0.6318, allocations: 392 kB / 0.5596 GB, free: 256 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.6319, allocations: 55.12 kB / 0.5596 GB, free: 216 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6319, allocations: 0 / 0.5596 GB, free: 216 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.715e-05/0.632, allocations: 31.67 kB / 0.5597 GB, free: 192 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.6322, allocations: 19.8 kB / 0.5597 GB, free: 176 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003317/0.6326, allocations: 164.6 kB / 0.5598 GB, free: 15.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.6329, allocations: 0.7154 MB / 0.5605 GB, free: 15.26 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.461e-05/0.6329, allocations: 20.84 kB / 0.5606 GB, free: 15.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.006e-05/0.633, allocations: 15.44 kB / 0.5606 GB, free: 15.22 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.633, allocations: 0 / 0.5606 GB, free: 15.22 MB / 378.7 MB Notification: Performance of Templates: time 0.004129/0.6371, allocations: 1.614 MB / 0.5621 GB, free: 13.63 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches