Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001576/0.001576, allocations: 181.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.078/2.078, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001078/0.001078, allocations: 86.7 kB / 267.5 MB, free: 14.04 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.2854/0.2854, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.297e-05/3.302e-05, allocations: 8 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1199, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4816/0.6015, allocations: 87.58 MB / 0.5583 GB, free: 20 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/0.6019, allocations: 76.44 kB / 0.5584 GB, free: 15.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02396/0.6259, allocations: 5.224 MB / 0.5635 GB, free: 11.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6259, allocations: 3.938 kB / 0.5635 GB, free: 11.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.678e-05/0.626, allocations: 0 / 0.5635 GB, free: 11.59 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.0005894/0.6266, allocations: 396.8 kB / 0.5639 GB, free: 11.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.6266, allocations: 8.031 kB / 0.5639 GB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.718e-05/0.6267, allocations: 11.89 kB / 0.5639 GB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004331/0.6271, allocations: 212.6 kB / 0.5641 GB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.6272, allocations: 0 / 0.5641 GB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/0.6272, allocations: 15.41 kB / 0.5641 GB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.6274, allocations: 48.88 kB / 0.5642 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.6274, allocations: 3.984 kB / 0.5642 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.6275, allocations: 0 / 0.5642 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.6275, allocations: 0 / 0.5642 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.612e-05/0.6276, allocations: 15.12 kB / 0.5642 GB, free: 10.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005006/0.6281, allocations: 300.9 kB / 0.5645 GB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.6283, allocations: 55.27 kB / 0.5645 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.678e-05/0.6283, allocations: 19.66 kB / 0.5646 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.6284, allocations: 0 / 0.5646 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/0.6286, allocations: 73.83 kB / 0.5646 GB, free: 10.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 4.148e-06/0.6286, allocations: 0 / 0.5646 GB, free: 10.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006468/0.6292, allocations: 153.1 kB / 0.5648 GB, free: 10.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.6293, allocations: 55.41 kB / 0.5648 GB, free: 10.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.6296, allocations: 165.5 kB / 0.565 GB, free: 10.01 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.6296, allocations: 25.7 kB / 0.565 GB, free: 9.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.596e-05/0.6297, allocations: 165.9 kB / 0.5652 GB, free: 9.828 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/0.6297, allocations: 27.58 kB / 0.5652 GB, free: 9.805 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-06/0.6298, allocations: 0 / 0.5652 GB, free: 9.805 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.6299, allocations: 310.8 kB / 0.5655 GB, free: 9.492 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.281e-05/0.63, allocations: 19.19 kB / 0.5655 GB, free: 9.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.298e-05/0.63, allocations: 48.95 kB / 0.5655 GB, free: 9.438 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.804e-05/0.6301, allocations: 15.94 kB / 0.5656 GB, free: 9.426 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.6301, allocations: 0 / 0.5656 GB, free: 9.426 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002159/0.6304, allocations: 92.97 kB / 0.5657 GB, free: 9.344 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.6304, allocations: 8 kB / 0.5657 GB, free: 9.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.6304, allocations: 0 / 0.5657 GB, free: 9.336 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.6304, allocations: 0 / 0.5657 GB, free: 9.336 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.6306, allocations: 19.61 kB / 0.5657 GB, free: 9.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.6306, allocations: 7.953 kB / 0.5657 GB, free: 9.312 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.86e-05/0.6307, allocations: 4.031 kB / 0.5657 GB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.6308, allocations: 4 kB / 0.5657 GB, free: 9.305 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.207e-05/0.6309, allocations: 112.8 kB / 0.5658 GB, free: 9.191 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.6309, allocations: 11.81 kB / 0.5658 GB, free: 9.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000312/0.6312, allocations: 121.4 kB / 0.5659 GB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.6312, allocations: 0 / 0.5659 GB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.6313, allocations: 192 / 0.5659 GB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.6313, allocations: 7.953 kB / 0.5659 GB, free: 9.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006007/0.6319, allocations: 404.9 kB / 0.5663 GB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.6319, allocations: 0 / 0.5663 GB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.189e-05/0.632, allocations: 8 kB / 0.5663 GB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.632, allocations: 0 / 0.5663 GB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.632, allocations: 11.92 kB / 0.5663 GB, free: 8.637 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.6321, allocations: 3.953 kB / 0.5663 GB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.6321, allocations: 0 / 0.5663 GB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.6324, allocations: 217.3 kB / 0.5666 GB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.433e-05/0.6325, allocations: 88.92 kB / 0.5666 GB, free: 8.309 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.518e-05/0.6325, allocations: 16.25 kB / 0.5667 GB, free: 8.297 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.6326, allocations: 3.938 kB / 0.5667 GB, free: 8.293 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.6327, allocations: 7.984 kB / 0.5667 GB, free: 8.285 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.6327, allocations: 7.984 kB / 0.5667 GB, free: 8.277 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000161/0.6329, allocations: 134.6 kB / 0.5668 GB, free: 8.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6329, allocations: 0 / 0.5668 GB, free: 8.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003725/0.6333, allocations: 31.88 kB / 0.5668 GB, free: 8.133 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.001288/0.6346, allocations: 429.4 kB / 0.5672 GB, free: 7.766 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002235/0.6348, allocations: 55.31 kB / 0.5673 GB, free: 7.727 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6349, allocations: 0 / 0.5673 GB, free: 7.727 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.025e-05/0.635, allocations: 27.81 kB / 0.5673 GB, free: 7.707 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.6354, allocations: 26.48 kB / 0.5673 GB, free: 7.688 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005387/0.6359, allocations: 187.3 kB / 0.5675 GB, free: 7.484 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.6363, allocations: 0.7123 MB / 0.5682 GB, free: 6.746 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.252e-05/0.6364, allocations: 15.44 kB / 0.5682 GB, free: 6.73 MB / 378.7 MB Notification: Performance of SimCode: time 1.272e-06/0.6364, allocations: 0 / 0.5682 GB, free: 6.73 MB / 378.7 MB Notification: Performance of Templates: time 0.005456/0.6419, allocations: 1.895 MB / 0.5701 GB, free: 4.848 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches