Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001564/0.001564, allocations: 181.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.136/2.136, 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.001039/0.001039, allocations: 90.64 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.2832/0.2832, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.736e-05/3.75e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1157, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4746/0.5904, allocations: 87.73 MB / 0.5585 GB, free: 15.91 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.5907, allocations: 81.86 kB / 0.5586 GB, free: 15.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03381/0.6246, allocations: 7.498 MB / 0.5659 GB, free: 9.504 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6246, allocations: 0 / 0.5659 GB, free: 9.504 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.681e-05/0.6247, allocations: 4 kB / 0.5659 GB, free: 9.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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008373/0.6255, allocations: 480.2 kB / 0.5663 GB, free: 9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.6256, allocations: 8.031 kB / 0.5663 GB, free: 8.992 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.6257, allocations: 23.72 kB / 0.5664 GB, free: 8.969 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000691/0.6264, allocations: 280.6 kB / 0.5666 GB, free: 8.664 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.6264, allocations: 3.875 kB / 0.5666 GB, free: 8.664 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.523e-05/0.6265, allocations: 4 kB / 0.5666 GB, free: 8.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.6268, allocations: 89.31 kB / 0.5667 GB, free: 8.574 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.6268, allocations: 3.812 kB / 0.5667 GB, free: 8.574 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.6268, allocations: 8 kB / 0.5667 GB, free: 8.566 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.6268, allocations: 3.984 kB / 0.5667 GB, free: 8.562 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.627, allocations: 42.42 kB / 0.5668 GB, free: 8.531 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007656/0.6278, allocations: 451.2 kB / 0.5672 GB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.6281, allocations: 110.9 kB / 0.5673 GB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.6282, allocations: 40.66 kB / 0.5674 GB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.6282, allocations: 0 / 0.5674 GB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002697/0.6285, allocations: 125.4 kB / 0.5675 GB, free: 7.812 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.953e-06/0.6285, allocations: 0 / 0.5675 GB, free: 7.812 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001039/0.6296, allocations: 325.1 kB / 0.5678 GB, free: 7.539 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.6297, allocations: 81.11 kB / 0.5679 GB, free: 7.441 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005635/0.6302, allocations: 319.7 kB / 0.5682 GB, free: 7.184 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.6303, allocations: 29.64 kB / 0.5682 GB, free: 7.152 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.6304, allocations: 189.6 kB / 0.5684 GB, free: 6.992 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.882e-05/0.6305, allocations: 54.78 kB / 0.5684 GB, free: 6.945 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.163e-05/0.6305, allocations: 6.625 kB / 0.5684 GB, free: 6.941 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.6307, allocations: 318.5 kB / 0.5687 GB, free: 6.625 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.6308, allocations: 41.98 kB / 0.5688 GB, free: 6.598 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.631, allocations: 68.94 kB / 0.5688 GB, free: 6.535 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.6311, allocations: 41.59 kB / 0.5689 GB, free: 6.508 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.6311, allocations: 8 kB / 0.5689 GB, free: 6.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004219/0.6316, allocations: 160.6 kB / 0.569 GB, free: 6.367 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.6316, allocations: 4 kB / 0.569 GB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.6316, allocations: 0 / 0.569 GB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.6316, allocations: 4 kB / 0.5691 GB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.6319, allocations: 31.97 kB / 0.5691 GB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/0.632, allocations: 7.938 kB / 0.5691 GB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.6321, allocations: 7.125 kB / 0.5691 GB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.6322, allocations: 4.375 kB / 0.5691 GB, free: 6.312 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001236/0.6323, allocations: 120 kB / 0.5692 GB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.822e-05/0.6324, allocations: 31.66 kB / 0.5692 GB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005836/0.633, allocations: 204.7 kB / 0.5694 GB, free: 6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.633, allocations: 4 kB / 0.5694 GB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.633, allocations: 4 kB / 0.5695 GB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.633, allocations: 3.984 kB / 0.5695 GB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.6342, allocations: 0.6545 MB / 0.5701 GB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.6342, allocations: 0 / 0.5701 GB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.6344, allocations: 27.92 kB / 0.5701 GB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.358e-06/0.6344, allocations: 0 / 0.5701 GB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.6344, allocations: 7.938 kB / 0.5701 GB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.635e-06/0.6345, allocations: 7.984 kB / 0.5701 GB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.6345, allocations: 0 / 0.5701 GB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005877/0.6351, allocations: 404.8 kB / 0.5705 GB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.6352, allocations: 118.9 kB / 0.5706 GB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.957e-05/0.6353, allocations: 4 kB / 0.5706 GB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.6355, allocations: 15.75 kB / 0.5707 GB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.01e-05/0.6356, allocations: 19.86 kB / 0.5707 GB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/0.6357, allocations: 11.69 kB / 0.5707 GB, free: 4.746 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000423/0.6361, allocations: 259 kB / 0.5709 GB, free: 4.543 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6361, allocations: 0 / 0.5709 GB, free: 4.543 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004899/0.6366, allocations: 55.31 kB / 0.571 GB, free: 4.492 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001264/0.6379, allocations: 428.8 kB / 0.5714 GB, free: 4.129 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003649/0.6383, allocations: 112.1 kB / 0.5715 GB, free: 4.047 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.6383, allocations: 0 / 0.5715 GB, free: 4.047 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.6385, allocations: 62.83 kB / 0.5716 GB, free: 4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000639/0.6391, allocations: 59.8 kB / 0.5716 GB, free: 3.953 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009766/0.6401, allocations: 385.4 kB / 0.572 GB, free: 3.582 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.6406, allocations: 0.7592 MB / 0.5727 GB, free: 2.801 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.6407, allocations: 30.98 kB / 0.5728 GB, free: 2.773 MB / 378.7 MB Notification: Performance of SimCode: time 1.233e-06/0.6407, allocations: 0 / 0.5728 GB, free: 2.773 MB / 378.7 MB Notification: Performance of Templates: time 0.008355/0.6491, allocations: 3.222 MB / 0.5759 GB, free: 15.58 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches