Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001532/0.001532, allocations: 181.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.011/2.011, allocations: 205.2 MB / 219.4 MB, free: 14.3 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.001542/0.001542, allocations: 90.64 kB / 267.5 MB, free: 14.12 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.2783/0.2783, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.86e-05/2.865e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1155, allocations: 58.86 MB / 484.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4656/0.5812, allocations: 87.58 MB / 0.5583 GB, free: 0 / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/0.5815, allocations: 75.88 kB / 0.5584 GB, free: 15.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0239/0.6054, allocations: 5.303 MB / 0.5636 GB, free: 11.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.6055, allocations: 0 / 0.5636 GB, free: 11.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.109e-05/0.6055, allocations: 15.94 kB / 0.5636 GB, free: 11.48 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.00057/0.6061, allocations: 390 kB / 0.564 GB, free: 11.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.6061, allocations: 8.031 kB / 0.564 GB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.364e-05/0.6062, allocations: 11.81 kB / 0.564 GB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004088/0.6066, allocations: 226.8 kB / 0.5642 GB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.6067, allocations: 0 / 0.5642 GB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.6067, allocations: 0 / 0.5642 GB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.6069, allocations: 53.31 kB / 0.5643 GB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.6069, allocations: 4 kB / 0.5643 GB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.6069, allocations: 0 / 0.5643 GB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.6069, allocations: 0 / 0.5643 GB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.495e-05/0.607, allocations: 19.92 kB / 0.5643 GB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004849/0.6075, allocations: 299.3 kB / 0.5646 GB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.6077, allocations: 50 kB / 0.5646 GB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.079e-05/0.6078, allocations: 24.8 kB / 0.5646 GB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.6078, allocations: 0 / 0.5646 GB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/0.608, allocations: 71.14 kB / 0.5647 GB, free: 10.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.224e-06/0.608, allocations: 4 kB / 0.5647 GB, free: 10.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005994/0.6086, allocations: 159.8 kB / 0.5649 GB, free: 10.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.6087, allocations: 59.33 kB / 0.5649 GB, free: 10.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002736/0.609, allocations: 185.7 kB / 0.5651 GB, free: 9.871 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.609, allocations: 33.64 kB / 0.5651 GB, free: 9.836 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.075e-05/0.6091, allocations: 162.3 kB / 0.5653 GB, free: 9.684 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.6092, allocations: 27.39 kB / 0.5653 GB, free: 9.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-06/0.6092, allocations: 3.75 kB / 0.5653 GB, free: 9.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.6093, allocations: 310.8 kB / 0.5656 GB, free: 9.348 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.122e-05/0.6094, allocations: 19.88 kB / 0.5656 GB, free: 9.336 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.715e-05/0.6095, allocations: 33.53 kB / 0.5657 GB, free: 9.305 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.687e-05/0.6096, allocations: 27.92 kB / 0.5657 GB, free: 9.285 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.6096, allocations: 0 / 0.5657 GB, free: 9.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002185/0.6098, allocations: 92.25 kB / 0.5658 GB, free: 9.203 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.6099, allocations: 7.984 kB / 0.5658 GB, free: 9.195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.6099, allocations: 0 / 0.5658 GB, free: 9.195 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.6099, allocations: 0 / 0.5658 GB, free: 9.195 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.6101, allocations: 19.98 kB / 0.5658 GB, free: 9.176 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.6101, allocations: 3.953 kB / 0.5658 GB, free: 9.172 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.756e-05/0.6102, allocations: 7.859 kB / 0.5658 GB, free: 9.168 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.6102, allocations: 8.031 kB / 0.5658 GB, free: 9.16 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 () * 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 9.503e-05/0.6103, allocations: 112.8 kB / 0.5659 GB, free: 9.047 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/0.6104, allocations: 11.81 kB / 0.5659 GB, free: 9.035 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003198/0.6107, allocations: 114.4 kB / 0.5661 GB, free: 8.938 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.6107, allocations: 4 kB / 0.5661 GB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.6107, allocations: 0 / 0.5661 GB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.6107, allocations: 3.953 kB / 0.5661 GB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000631/0.6114, allocations: 411.7 kB / 0.5665 GB, free: 8.512 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.6114, allocations: 0 / 0.5665 GB, free: 8.512 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.492e-05/0.6115, allocations: 15.98 kB / 0.5665 GB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.391e-06/0.6115, allocations: 0 / 0.5665 GB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.6115, allocations: 0 / 0.5665 GB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.193e-06/0.6116, allocations: 7.953 kB / 0.5665 GB, free: 8.488 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6116, allocations: 0 / 0.5665 GB, free: 8.488 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.6119, allocations: 220.1 kB / 0.5667 GB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.879e-05/0.612, allocations: 92.38 kB / 0.5668 GB, free: 8.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/0.6121, allocations: 7.953 kB / 0.5668 GB, free: 8.152 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.6122, allocations: 3.5 kB / 0.5668 GB, free: 8.152 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.6123, allocations: 7.984 kB / 0.5668 GB, free: 8.145 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.6123, allocations: 7.938 kB / 0.5668 GB, free: 8.137 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002041/0.6125, allocations: 153.8 kB / 0.5669 GB, free: 8.008 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6125, allocations: 0 / 0.5669 GB, free: 8.008 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003608/0.6129, allocations: 35.31 kB / 0.567 GB, free: 7.977 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) * 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.001229/0.6141, allocations: 429.9 kB / 0.5674 GB, free: 7.613 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002426/0.6144, allocations: 61.55 kB / 0.5674 GB, free: 7.566 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.6144, allocations: 0 / 0.5674 GB, free: 7.566 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.302e-05/0.6145, allocations: 29.81 kB / 0.5675 GB, free: 7.547 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.6149, allocations: 27.98 kB / 0.5675 GB, free: 7.527 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005467/0.6155, allocations: 208.9 kB / 0.5677 GB, free: 7.312 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.6158, allocations: 0.715 MB / 0.5684 GB, free: 6.574 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.581e-05/0.6159, allocations: 15.44 kB / 0.5684 GB, free: 6.559 MB / 378.7 MB Notification: Performance of SimCode: time 1.343e-06/0.6159, allocations: 0 / 0.5684 GB, free: 6.559 MB / 378.7 MB Notification: Performance of Templates: time 0.005545/0.6215, allocations: 1.973 MB / 0.5703 GB, free: 4.598 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches