Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,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.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,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.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00151/0.001515, allocations: 177.6 kB / 8.004 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.733/1.733, allocations: 205.3 MB / 213.7 MB, free: 1.668 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.0009927/0.0009927, allocations: 86.62 kB / 261.7 MB, free: 1.613 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.2266/0.2266, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.65e-05/2.657e-05, allocations: 8 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.142, allocations: 58.85 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4793/0.6214, allocations: 86.96 MB / 0.5509 GB, free: 7.992 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.6217, allocations: 74.41 kB / 0.5509 GB, free: 7.957 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01277/0.6345, allocations: 5.537 MB / 0.5563 GB, free: 3.551 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.6345, allocations: 4 kB / 0.5563 GB, free: 3.547 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.6345, allocations: 0 / 0.5563 GB, free: 3.547 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.0003835/0.6349, allocations: 400.5 kB / 0.5567 GB, free: 3.117 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.6349, allocations: 12.03 kB / 0.5567 GB, free: 3.105 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.774e-05/0.635, allocations: 15.81 kB / 0.5567 GB, free: 3.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.6353, allocations: 221 kB / 0.557 GB, free: 2.844 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.6353, allocations: 3.625 kB / 0.557 GB, free: 2.844 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.6353, allocations: 7.938 kB / 0.557 GB, free: 2.836 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.247e-05/0.6354, allocations: 19.23 kB / 0.557 GB, free: 2.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.654e-05/0.6355, allocations: 48.61 kB / 0.557 GB, free: 2.773 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.6355, allocations: 7.906 kB / 0.557 GB, free: 2.766 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.6356, allocations: 0 / 0.557 GB, free: 2.766 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.6356, allocations: 0 / 0.557 GB, free: 2.766 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003148/0.6359, allocations: 273.8 kB / 0.5573 GB, free: 2.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.337e-05/0.636, allocations: 51.75 kB / 0.5573 GB, free: 2.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.355e-05/0.636, allocations: 19.42 kB / 0.5574 GB, free: 2.414 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.6361, allocations: 3.438 kB / 0.5574 GB, free: 2.414 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001108/0.6362, allocations: 74.02 kB / 0.5574 GB, free: 2.336 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.164e-06/0.6362, allocations: 3.984 kB / 0.5574 GB, free: 2.332 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004309/0.6366, allocations: 151.2 kB / 0.5576 GB, free: 2.199 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.6367, allocations: 54.16 kB / 0.5576 GB, free: 2.137 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.6369, allocations: 200.7 kB / 0.5578 GB, free: 1.953 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.6369, allocations: 25.7 kB / 0.5579 GB, free: 1.922 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.342e-05/0.6369, allocations: 109.2 kB / 0.558 GB, free: 1.828 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.637, allocations: 23.53 kB / 0.558 GB, free: 1.809 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.637, allocations: 0 / 0.558 GB, free: 1.809 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.822e-05/0.637, allocations: 330.5 kB / 0.5583 GB, free: 1.484 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.121e-05/0.6371, allocations: 15.62 kB / 0.5583 GB, free: 1.477 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.688e-05/0.6371, allocations: 34.2 kB / 0.5583 GB, free: 1.445 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.777e-05/0.6372, allocations: 19.62 kB / 0.5584 GB, free: 1.434 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.6372, allocations: 0 / 0.5584 GB, free: 1.434 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000114/0.6373, allocations: 95.98 kB / 0.5585 GB, free: 1.348 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.6373, allocations: 4 kB / 0.5585 GB, free: 1.344 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.6373, allocations: 4.031 kB / 0.5585 GB, free: 1.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.6373, allocations: 4.188 kB / 0.5585 GB, free: 1.336 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.054e-05/0.6374, allocations: 15.98 kB / 0.5585 GB, free: 1.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.6375, allocations: 3.938 kB / 0.5585 GB, free: 1.316 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.42e-05/0.6375, allocations: 4 kB / 0.5585 GB, free: 1.312 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.6375, allocations: 15.39 kB / 0.5585 GB, free: 1.301 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.994e-05/0.6376, allocations: 102.7 kB / 0.5586 GB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.079e-05/0.6376, allocations: 15.81 kB / 0.5586 GB, free: 1.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001758/0.6378, allocations: 112.7 kB / 0.5587 GB, free: 1.082 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.6378, allocations: 0 / 0.5587 GB, free: 1.082 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.6378, allocations: 4 kB / 0.5587 GB, free: 1.078 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.6378, allocations: 0 / 0.5587 GB, free: 1.078 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003102/0.6381, allocations: 400.4 kB / 0.5591 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.6381, allocations: 0 / 0.5591 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.63e-05/0.6382, allocations: 8 kB / 0.5591 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.6382, allocations: 4 kB / 0.5591 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.6382, allocations: 4.031 kB / 0.5591 GB, free: 0.668 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.6382, allocations: 0 / 0.5591 GB, free: 0.668 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6382, allocations: 0 / 0.5591 GB, free: 0.668 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.6384, allocations: 216.9 kB / 0.5593 GB, free: 460 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/0.6384, allocations: 104.2 kB / 0.5594 GB, free: 340 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.6385, allocations: 0 / 0.5594 GB, free: 340 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.094e-05/0.6385, allocations: 8 kB / 0.5594 GB, free: 332 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.6386, allocations: 11.94 kB / 0.5595 GB, free: 320 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.6386, allocations: 0 / 0.5595 GB, free: 320 kB / 362.7 MB Notification: Performance of sorting global known variables: time 9.725e-05/0.6387, allocations: 162.2 kB / 0.5596 GB, free: 184 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6387, allocations: 0 / 0.5596 GB, free: 184 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002501/0.639, allocations: 31.94 kB / 0.5596 GB, free: 152 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.0008666/0.6398, allocations: 394.5 kB / 0.56 GB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001231/0.64, allocations: 48.86 kB / 0.5601 GB, free: 15.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.64, allocations: 0 / 0.5601 GB, free: 15.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.269e-05/0.64, allocations: 37.19 kB / 0.5601 GB, free: 15.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.6403, allocations: 19.42 kB / 0.5601 GB, free: 15.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000356/0.6407, allocations: 182.6 kB / 0.5603 GB, free: 15.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.641, allocations: 0.7157 MB / 0.561 GB, free: 14.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.469e-05/0.641, allocations: 24.91 kB / 0.561 GB, free: 14.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.826e-05/0.6411, allocations: 18.62 kB / 0.561 GB, free: 14.77 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6411, allocations: 0 / 0.561 GB, free: 14.77 MB / 378.7 MB Notification: Performance of Templates: time 0.004078/0.6452, allocations: 1.681 MB / 0.5627 GB, free: 13.12 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches