Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002426/0.002426, allocations: 180.6 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.013/2.013, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001133/0.001133, allocations: 90.59 kB / 267.5 MB, free: 14.11 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.2794/0.2794, allocations: 43.5 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.201e-05/3.214e-05, allocations: 8 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1111, allocations: 58.86 MB / 484.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4902/0.6014, allocations: 87.58 MB / 0.5583 GB, free: 16 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/0.6017, allocations: 79.92 kB / 0.5584 GB, free: 15.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02405/0.6258, allocations: 5.305 MB / 0.5636 GB, free: 11.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.438e-06/0.6259, allocations: 4 kB / 0.5636 GB, free: 11.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.874e-05/0.6259, allocations: 7.938 kB / 0.5636 GB, free: 11.5 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.0005559/0.6265, allocations: 397.2 kB / 0.564 GB, free: 11.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.6265, allocations: 8.031 kB / 0.564 GB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.294e-05/0.6266, allocations: 15.81 kB / 0.564 GB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003928/0.627, allocations: 214.8 kB / 0.5642 GB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.627, allocations: 4 kB / 0.5642 GB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/0.6271, allocations: 7.688 kB / 0.5642 GB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.6272, allocations: 56.86 kB / 0.5643 GB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.6272, allocations: 0 / 0.5643 GB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.6273, allocations: 0 / 0.5643 GB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.6273, allocations: 0 / 0.5643 GB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.111e-05/0.6274, allocations: 15.62 kB / 0.5643 GB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004903/0.6279, allocations: 298.7 kB / 0.5646 GB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.6281, allocations: 57.75 kB / 0.5646 GB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.755e-05/0.6281, allocations: 16.48 kB / 0.5646 GB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.6282, allocations: 7.734 kB / 0.5646 GB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/0.6283, allocations: 70.52 kB / 0.5647 GB, free: 10.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.234e-06/0.6283, allocations: 0 / 0.5647 GB, free: 10.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006024/0.629, allocations: 162.8 kB / 0.5649 GB, free: 10.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.629, allocations: 55.34 kB / 0.5649 GB, free: 10.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.6293, allocations: 184.4 kB / 0.5651 GB, free: 9.879 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.6293, allocations: 33.2 kB / 0.5651 GB, free: 9.844 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.16e-05/0.6294, allocations: 161.4 kB / 0.5653 GB, free: 9.695 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.6295, allocations: 27.39 kB / 0.5653 GB, free: 9.672 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-06/0.6295, allocations: 0 / 0.5653 GB, free: 9.672 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.6296, allocations: 318.3 kB / 0.5656 GB, free: 9.355 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.1e-05/0.6297, allocations: 19.69 kB / 0.5656 GB, free: 9.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.89e-05/0.6298, allocations: 36.7 kB / 0.5657 GB, free: 9.309 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.933e-05/0.6299, allocations: 19.19 kB / 0.5657 GB, free: 9.297 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6299, allocations: 0 / 0.5657 GB, free: 9.297 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002299/0.6301, allocations: 95.97 kB / 0.5658 GB, free: 9.211 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.6302, allocations: 4 kB / 0.5658 GB, free: 9.207 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.6302, allocations: 0 / 0.5658 GB, free: 9.207 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.6302, allocations: 4 kB / 0.5658 GB, free: 9.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.6304, allocations: 16.03 kB / 0.5658 GB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.6304, allocations: 7.938 kB / 0.5658 GB, free: 9.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.188e-05/0.6305, allocations: 7.688 kB / 0.5658 GB, free: 9.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.6305, allocations: 0 / 0.5658 GB, free: 9.176 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 8.449e-05/0.6306, allocations: 112.6 kB / 0.5659 GB, free: 9.062 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.846e-05/0.6307, allocations: 15.81 kB / 0.5659 GB, free: 9.047 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003246/0.631, allocations: 124.7 kB / 0.5661 GB, free: 8.941 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.631, allocations: 0 / 0.5661 GB, free: 8.941 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.631, allocations: 4 kB / 0.5661 GB, free: 8.938 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.631, allocations: 3.953 kB / 0.5661 GB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000657/0.6317, allocations: 410.2 kB / 0.5665 GB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.6317, allocations: 0 / 0.5665 GB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.14e-05/0.6318, allocations: 11.98 kB / 0.5665 GB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.6318, allocations: 0 / 0.5665 GB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.6319, allocations: 7.984 kB / 0.5665 GB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.6319, allocations: 3.953 kB / 0.5665 GB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.6319, allocations: 4.031 kB / 0.5665 GB, free: 8.488 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003025/0.6322, allocations: 215.4 kB / 0.5667 GB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.417e-05/0.6323, allocations: 96.62 kB / 0.5668 GB, free: 8.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/0.6324, allocations: 3.953 kB / 0.5668 GB, free: 8.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.6325, allocations: 7.625 kB / 0.5668 GB, free: 8.152 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.6326, allocations: 11.98 kB / 0.5668 GB, free: 8.141 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.6326, allocations: 3.938 kB / 0.5668 GB, free: 8.137 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001962/0.6328, allocations: 156.3 kB / 0.567 GB, free: 8.008 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6328, allocations: 0 / 0.567 GB, free: 8.008 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003565/0.6332, allocations: 30.69 kB / 0.567 GB, free: 7.98 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.001227/0.6344, allocations: 425.6 kB / 0.5674 GB, free: 7.617 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.6346, allocations: 59.81 kB / 0.5674 GB, free: 7.574 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6347, allocations: 0 / 0.5674 GB, free: 7.574 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.936e-05/0.6348, allocations: 26.31 kB / 0.5675 GB, free: 7.555 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.6352, allocations: 35.52 kB / 0.5675 GB, free: 7.535 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000572/0.6357, allocations: 212.8 kB / 0.5677 GB, free: 7.316 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.6361, allocations: 0.7082 MB / 0.5684 GB, free: 6.582 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.773e-05/0.6361, allocations: 15.44 kB / 0.5684 GB, free: 6.566 MB / 378.7 MB Notification: Performance of SimCode: time 1.513e-06/0.6362, allocations: 0 / 0.5684 GB, free: 6.566 MB / 378.7 MB Notification: Performance of Templates: time 0.005451/0.6416, allocations: 1.964 MB / 0.5703 GB, free: 4.613 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches