Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001494/0.001493, allocations: 182.3 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.047/2.047, 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.001124/0.001123, allocations: 90.64 kB / 267.5 MB, free: 14.03 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.3108/0.3108, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.286e-05/3.309e-05, allocations: 8 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1155, allocations: 58.86 MB / 484.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4872/0.6028, allocations: 87.62 MB / 0.5584 GB, free: 15.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.6031, allocations: 76.69 kB / 0.5584 GB, free: 15.9 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02418/0.6273, allocations: 5.616 MB / 0.5639 GB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.6273, allocations: 0 / 0.5639 GB, free: 11.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.732e-05/0.6274, allocations: 0 / 0.5639 GB, free: 11.14 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.0005898/0.628, allocations: 410.2 kB / 0.5643 GB, free: 10.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.628, allocations: 8.031 kB / 0.5643 GB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.551e-05/0.6281, allocations: 19.81 kB / 0.5643 GB, free: 10.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000426/0.6285, allocations: 228 kB / 0.5646 GB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.6286, allocations: 7.625 kB / 0.5646 GB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.6286, allocations: 0 / 0.5646 GB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.6288, allocations: 52.12 kB / 0.5646 GB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.6288, allocations: 4 kB / 0.5646 GB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.6288, allocations: 3.984 kB / 0.5646 GB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.6288, allocations: 0 / 0.5646 GB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.024e-05/0.6289, allocations: 17 kB / 0.5646 GB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004958/0.6294, allocations: 311.2 kB / 0.5649 GB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.6296, allocations: 57.23 kB / 0.565 GB, free: 9.957 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.313e-05/0.6297, allocations: 20.3 kB / 0.565 GB, free: 9.938 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.6297, allocations: 0 / 0.565 GB, free: 9.938 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.6299, allocations: 66.27 kB / 0.5651 GB, free: 9.867 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.934e-06/0.6299, allocations: 7.938 kB / 0.5651 GB, free: 9.859 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000602/0.6305, allocations: 163.7 kB / 0.5652 GB, free: 9.719 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.6306, allocations: 51.41 kB / 0.5653 GB, free: 9.656 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00034/0.6309, allocations: 213.8 kB / 0.5655 GB, free: 9.473 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.631, allocations: 32.95 kB / 0.5655 GB, free: 9.438 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.051e-05/0.6311, allocations: 167.5 kB / 0.5657 GB, free: 9.285 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.6311, allocations: 23.03 kB / 0.5657 GB, free: 9.266 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/0.6312, allocations: 7.375 kB / 0.5657 GB, free: 9.262 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.6313, allocations: 314.8 kB / 0.566 GB, free: 8.945 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.378e-05/0.6314, allocations: 18.73 kB / 0.566 GB, free: 8.934 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.855e-05/0.6315, allocations: 36.84 kB / 0.5661 GB, free: 8.898 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.307e-05/0.6316, allocations: 25.98 kB / 0.5661 GB, free: 8.883 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6316, allocations: 0 / 0.5661 GB, free: 8.883 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002342/0.6318, allocations: 95.58 kB / 0.5662 GB, free: 8.797 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.6319, allocations: 8.031 kB / 0.5662 GB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.6319, allocations: 4.125 kB / 0.5662 GB, free: 8.785 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.6319, allocations: 0 / 0.5662 GB, free: 8.785 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.6321, allocations: 27.92 kB / 0.5662 GB, free: 8.758 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.6321, allocations: 3.953 kB / 0.5662 GB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.263e-05/0.6322, allocations: 7.688 kB / 0.5662 GB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.6322, allocations: 0 / 0.5662 GB, free: 8.75 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.469e-05/0.6323, allocations: 109.5 kB / 0.5663 GB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.334e-05/0.6324, allocations: 15.81 kB / 0.5664 GB, free: 8.625 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003223/0.6327, allocations: 119.8 kB / 0.5665 GB, free: 8.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.6327, allocations: 0 / 0.5665 GB, free: 8.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.6328, allocations: 7.984 kB / 0.5665 GB, free: 8.512 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.6328, allocations: 3.953 kB / 0.5665 GB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000663/0.6335, allocations: 420.7 kB / 0.5669 GB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.6335, allocations: 0 / 0.5669 GB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.686e-05/0.6336, allocations: 8 kB / 0.5669 GB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.6336, allocations: 4 kB / 0.5669 GB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.6336, allocations: 7.719 kB / 0.5669 GB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.205e-06/0.6336, allocations: 7.891 kB / 0.5669 GB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.6336, allocations: 4 kB / 0.5669 GB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003113/0.634, allocations: 219.1 kB / 0.5671 GB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.6341, allocations: 96.3 kB / 0.5672 GB, free: 7.723 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/0.6341, allocations: 7.891 kB / 0.5672 GB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.6343, allocations: 14.73 kB / 0.5672 GB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.6343, allocations: 4 kB / 0.5672 GB, free: 7.699 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.6343, allocations: 4 kB / 0.5672 GB, free: 7.695 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002554/0.6346, allocations: 182.3 kB / 0.5674 GB, free: 7.547 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6346, allocations: 0 / 0.5674 GB, free: 7.547 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003707/0.635, allocations: 39.55 kB / 0.5675 GB, free: 7.512 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.001232/0.6362, allocations: 424 kB / 0.5679 GB, free: 7.152 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002286/0.6365, allocations: 53.88 kB / 0.5679 GB, free: 7.113 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.6365, allocations: 4 kB / 0.5679 GB, free: 7.109 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.173e-05/0.6366, allocations: 34.67 kB / 0.5679 GB, free: 7.082 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.637, allocations: 33.27 kB / 0.568 GB, free: 7.059 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006009/0.6376, allocations: 236.2 kB / 0.5682 GB, free: 6.824 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.638, allocations: 0.7195 MB / 0.5689 GB, free: 6.082 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.402e-05/0.6381, allocations: 15.44 kB / 0.5689 GB, free: 6.066 MB / 378.7 MB Notification: Performance of SimCode: time 8.11e-07/0.6381, allocations: 0 / 0.5689 GB, free: 6.066 MB / 378.7 MB Notification: Performance of Templates: time 0.005761/0.6439, allocations: 2.091 MB / 0.571 GB, free: 3.984 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches