Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001053, allocations: 183 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.437/1.437, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008049/0.0008049, allocations: 86.61 kB / 267 MB, free: 9.285 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.3394/0.3394, allocations: 43.47 MB / 358.6 MB, free: 52.29 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.722e-05/3.733e-05, allocations: 4 kB / 425.3 MB, free: 8.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.17, allocations: 58.84 MB / 484.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3531/0.5232, allocations: 87.58 MB / 0.5583 GB, free: 1.449 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.5234, allocations: 75.95 kB / 0.5584 GB, free: 1.375 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01348/0.5369, allocations: 5.309 MB / 0.5636 GB, free: 12.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.5369, allocations: 0.5469 kB / 0.5636 GB, free: 12.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.537, allocations: 8 kB / 0.5636 GB, free: 12.1 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.0004166/0.5374, allocations: 403.8 kB / 0.564 GB, free: 11.67 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.5374, allocations: 8.031 kB / 0.564 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.5375, allocations: 11.34 kB / 0.564 GB, free: 11.65 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.5378, allocations: 220.6 kB / 0.5642 GB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.5378, allocations: 8 kB / 0.5642 GB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.5378, allocations: 4 kB / 0.5642 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.538, allocations: 57.61 kB / 0.5643 GB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.538, allocations: 0 / 0.5643 GB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.538, allocations: 1.375 kB / 0.5643 GB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.538, allocations: 0 / 0.5643 GB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.171e-05/0.5381, allocations: 16 kB / 0.5643 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004048/0.5385, allocations: 296.9 kB / 0.5646 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.5386, allocations: 58.62 kB / 0.5646 GB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.838e-05/0.5387, allocations: 20.98 kB / 0.5647 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.5387, allocations: 0 / 0.5647 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001206/0.5388, allocations: 67.39 kB / 0.5647 GB, free: 10.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.5388, allocations: 3.938 kB / 0.5647 GB, free: 10.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004368/0.5393, allocations: 157.2 kB / 0.5649 GB, free: 10.63 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.5393, allocations: 55.39 kB / 0.5649 GB, free: 10.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.5395, allocations: 178.5 kB / 0.5651 GB, free: 10.38 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.5396, allocations: 29.7 kB / 0.5651 GB, free: 10.35 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.532e-05/0.5396, allocations: 108 kB / 0.5652 GB, free: 10.24 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.5397, allocations: 27.64 kB / 0.5653 GB, free: 10.21 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.5397, allocations: 0 / 0.5653 GB, free: 10.21 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.5398, allocations: 326.8 kB / 0.5656 GB, free: 9.883 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.894e-05/0.5398, allocations: 23.98 kB / 0.5656 GB, free: 9.859 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.839e-05/0.5399, allocations: 35.25 kB / 0.5656 GB, free: 9.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.174e-05/0.5399, allocations: 23.98 kB / 0.5657 GB, free: 9.797 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.54, allocations: 4 kB / 0.5657 GB, free: 9.793 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001493/0.5401, allocations: 90.45 kB / 0.5657 GB, free: 9.699 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.5401, allocations: 4 kB / 0.5657 GB, free: 9.695 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.5401, allocations: 4 kB / 0.5658 GB, free: 9.691 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.5402, allocations: 0 / 0.5658 GB, free: 9.691 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.872e-05/0.5403, allocations: 23.95 kB / 0.5658 GB, free: 9.668 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.5403, allocations: 3.953 kB / 0.5658 GB, free: 9.664 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.698e-05/0.5403, allocations: 8 kB / 0.5658 GB, free: 9.656 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.5403, allocations: 4 kB / 0.5658 GB, free: 9.652 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 7.463e-05/0.5404, allocations: 106.1 kB / 0.5659 GB, free: 9.543 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/0.5404, allocations: 13.88 kB / 0.5659 GB, free: 9.531 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002052/0.5407, allocations: 123.3 kB / 0.566 GB, free: 9.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.5407, allocations: 0 / 0.566 GB, free: 9.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.5407, allocations: 4 kB / 0.566 GB, free: 9.406 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.5407, allocations: 7.938 kB / 0.566 GB, free: 9.398 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004079/0.5411, allocations: 407.3 kB / 0.5664 GB, free: 8.941 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.5411, allocations: 192 / 0.5664 GB, free: 8.941 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.265e-05/0.5412, allocations: 16 kB / 0.5664 GB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.5412, allocations: 0 / 0.5664 GB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.5412, allocations: 7.984 kB / 0.5664 GB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.5412, allocations: 7.891 kB / 0.5665 GB, free: 8.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5412, allocations: 8.016 kB / 0.5665 GB, free: 8.902 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.5414, allocations: 218.1 kB / 0.5667 GB, free: 8.664 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.206e-05/0.5415, allocations: 89.11 kB / 0.5668 GB, free: 8.559 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.5415, allocations: 15.83 kB / 0.5668 GB, free: 8.543 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.325e-05/0.5416, allocations: 7.984 kB / 0.5668 GB, free: 8.535 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.5416, allocations: 8 kB / 0.5668 GB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.5417, allocations: 4 kB / 0.5668 GB, free: 8.523 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001207/0.5418, allocations: 152.9 kB / 0.5669 GB, free: 8.375 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5418, allocations: 0 / 0.5669 GB, free: 8.375 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002371/0.542, allocations: 39.92 kB / 0.567 GB, free: 8.336 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.0009109/0.543, allocations: 412.3 kB / 0.5674 GB, free: 8.004 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001254/0.5431, allocations: 59.94 kB / 0.5674 GB, free: 7.945 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5431, allocations: 0 / 0.5674 GB, free: 7.945 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.652e-05/0.5432, allocations: 35.92 kB / 0.5675 GB, free: 7.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.5434, allocations: 19.98 kB / 0.5675 GB, free: 7.891 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000339/0.5438, allocations: 175.9 kB / 0.5676 GB, free: 7.703 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.5441, allocations: 0.7082 MB / 0.5683 GB, free: 6.969 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.669e-05/0.5441, allocations: 20.84 kB / 0.5684 GB, free: 6.949 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.196e-05/0.5442, allocations: 15.44 kB / 0.5684 GB, free: 6.934 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5442, allocations: 0 / 0.5684 GB, free: 6.934 MB / 394.7 MB Notification: Performance of Templates: time 0.004033/0.5482, allocations: 1.71 MB / 0.57 GB, free: 5.23 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches