Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00138/0.00138, allocations: 178.4 kB / 8.362 MB, free: 0.7148 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.951/1.951, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 91.78 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.29/0.29, allocations: 43.5 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.023e-05/3.046e-05, allocations: 8 kB / 418.2 MB, free: 41.02 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.4026, allocations: 58.85 MB / 477.1 MB, free: 5.258 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1636/0.5662, allocations: 87.17 MB / 0.551 GB, free: 12.12 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/0.5666, allocations: 83.45 kB / 0.5511 GB, free: 12.05 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0256/0.5922, allocations: 5.629 MB / 0.5566 GB, free: 6.422 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5923, allocations: 4 kB / 0.5566 GB, free: 6.418 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.463e-05/0.5923, allocations: 4 kB / 0.5566 GB, free: 6.414 MB / 395.1 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.0005896/0.5929, allocations: 386.2 kB / 0.557 GB, free: 5.992 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.5929, allocations: 8.031 kB / 0.557 GB, free: 5.984 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.142e-05/0.593, allocations: 7.906 kB / 0.557 GB, free: 5.977 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/0.5934, allocations: 218.8 kB / 0.5572 GB, free: 5.723 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.5935, allocations: 0 / 0.5572 GB, free: 5.723 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.5935, allocations: 0 / 0.5572 GB, free: 5.723 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.303e-05/0.5936, allocations: 20 kB / 0.5572 GB, free: 5.703 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.5938, allocations: 71.38 kB / 0.5573 GB, free: 5.621 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.5938, allocations: 3.938 kB / 0.5573 GB, free: 5.617 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.5938, allocations: 4 kB / 0.5573 GB, free: 5.613 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.5938, allocations: 0 / 0.5573 GB, free: 5.613 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004455/0.5943, allocations: 261.5 kB / 0.5576 GB, free: 5.32 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.5945, allocations: 54.62 kB / 0.5576 GB, free: 5.258 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.532e-05/0.5945, allocations: 16.98 kB / 0.5576 GB, free: 5.238 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.5946, allocations: 0 / 0.5576 GB, free: 5.238 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.5948, allocations: 63.39 kB / 0.5577 GB, free: 5.164 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.345e-06/0.5948, allocations: 7.938 kB / 0.5577 GB, free: 5.156 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006186/0.5954, allocations: 145.2 kB / 0.5578 GB, free: 5.008 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.5955, allocations: 85.09 kB / 0.5579 GB, free: 4.906 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.5957, allocations: 136.4 kB / 0.558 GB, free: 4.77 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.5957, allocations: 33.7 kB / 0.5581 GB, free: 4.73 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.171e-05/0.5958, allocations: 154.6 kB / 0.5582 GB, free: 4.578 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.5959, allocations: 27.64 kB / 0.5583 GB, free: 4.551 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/0.5959, allocations: 0 / 0.5583 GB, free: 4.551 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.596, allocations: 310.8 kB / 0.5585 GB, free: 4.238 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.913e-05/0.5961, allocations: 20 kB / 0.5586 GB, free: 4.219 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.421e-05/0.5962, allocations: 46.5 kB / 0.5586 GB, free: 4.164 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.126e-05/0.5963, allocations: 24.06 kB / 0.5586 GB, free: 4.141 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5963, allocations: 0 / 0.5586 GB, free: 4.141 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002163/0.5965, allocations: 85.66 kB / 0.5587 GB, free: 4.051 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.5965, allocations: 4 kB / 0.5587 GB, free: 4.047 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.5966, allocations: 0 / 0.5587 GB, free: 4.047 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.5966, allocations: 3.953 kB / 0.5587 GB, free: 4.043 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.5968, allocations: 24 kB / 0.5587 GB, free: 4.02 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.5968, allocations: 4 kB / 0.5588 GB, free: 4.016 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.874e-05/0.5969, allocations: 7.984 kB / 0.5588 GB, free: 4.008 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.5969, allocations: 0 / 0.5588 GB, free: 4.008 MB / 395.1 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 0.0001042/0.597, allocations: 105 kB / 0.5589 GB, free: 3.898 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.5971, allocations: 7.906 kB / 0.5589 GB, free: 3.891 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003322/0.5974, allocations: 114.3 kB / 0.559 GB, free: 3.773 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.5974, allocations: 0 / 0.559 GB, free: 3.773 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.5974, allocations: 4.047 kB / 0.559 GB, free: 3.77 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.5975, allocations: 7.938 kB / 0.559 GB, free: 3.762 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005779/0.598, allocations: 359.9 kB / 0.5593 GB, free: 3.363 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.5981, allocations: 4 kB / 0.5593 GB, free: 3.359 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.189e-05/0.5982, allocations: 15.98 kB / 0.5593 GB, free: 3.344 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.5982, allocations: 0 / 0.5593 GB, free: 3.344 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.5982, allocations: 3.953 kB / 0.5594 GB, free: 3.34 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.5982, allocations: 4 kB / 0.5594 GB, free: 3.336 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5982, allocations: 192 / 0.5594 GB, free: 3.336 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.5985, allocations: 210 kB / 0.5596 GB, free: 3.105 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.92e-05/0.5986, allocations: 97 kB / 0.5596 GB, free: 2.992 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/0.5987, allocations: 7.891 kB / 0.5597 GB, free: 2.984 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.5988, allocations: 4 kB / 0.5597 GB, free: 2.98 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.5989, allocations: 7.984 kB / 0.5597 GB, free: 2.973 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.5989, allocations: 4 kB / 0.5597 GB, free: 2.969 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001327/0.599, allocations: 119.3 kB / 0.5598 GB, free: 2.852 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5991, allocations: 0 / 0.5598 GB, free: 2.852 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004169/0.5995, allocations: 39.92 kB / 0.5598 GB, free: 2.812 MB / 395.1 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.001301/0.6008, allocations: 431.5 kB / 0.5602 GB, free: 2.43 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002178/0.601, allocations: 55.92 kB / 0.5603 GB, free: 2.375 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.6011, allocations: 4 kB / 0.5603 GB, free: 2.371 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.661e-05/0.6011, allocations: 24 kB / 0.5603 GB, free: 2.348 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.6016, allocations: 23.84 kB / 0.5603 GB, free: 2.324 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004664/0.602, allocations: 167.6 kB / 0.5605 GB, free: 2.125 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.6024, allocations: 0.7119 MB / 0.5612 GB, free: 1.387 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.373e-05/0.6025, allocations: 15.44 kB / 0.5612 GB, free: 1.371 MB / 395.1 MB Notification: Performance of SimCode: time 7.61e-07/0.6025, allocations: 0 / 0.5612 GB, free: 1.371 MB / 395.1 MB Notification: Performance of Templates: time 0.006027/0.6085, allocations: 2.045 MB / 0.5632 GB, free: 15.33 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches