Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,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.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,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.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001507/0.001507, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.063/2.063, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 92.05 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2904/0.2904, allocations: 43.5 MB / 353.6 MB, free: 2.254 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.478e-05/2.489e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3946, allocations: 58.85 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1836/0.5783, allocations: 86.97 MB / 0.5508 GB, free: 12.34 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/0.5786, allocations: 71.97 kB / 0.5509 GB, free: 12.27 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02525/0.6039, allocations: 5.326 MB / 0.5561 GB, free: 6.945 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.604, allocations: 0 / 0.5561 GB, free: 6.945 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.215e-05/0.604, allocations: 7.938 kB / 0.5561 GB, free: 6.938 MB / 395.1 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.0006004/0.6046, allocations: 390.3 kB / 0.5565 GB, free: 6.512 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.6047, allocations: 8.031 kB / 0.5565 GB, free: 6.504 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.061e-05/0.6047, allocations: 7.906 kB / 0.5565 GB, free: 6.496 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004617/0.6052, allocations: 225.5 kB / 0.5567 GB, free: 6.238 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.6053, allocations: 0 / 0.5567 GB, free: 6.238 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.6053, allocations: 4 kB / 0.5567 GB, free: 6.234 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001071/0.6054, allocations: 19.98 kB / 0.5567 GB, free: 6.215 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.6056, allocations: 49.67 kB / 0.5568 GB, free: 6.16 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.6056, allocations: 8 kB / 0.5568 GB, free: 6.152 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.6056, allocations: 0 / 0.5568 GB, free: 6.152 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.6056, allocations: 0 / 0.5568 GB, free: 6.152 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005092/0.6061, allocations: 269.4 kB / 0.5571 GB, free: 5.852 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.6063, allocations: 46.69 kB / 0.5571 GB, free: 5.797 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.492e-05/0.6064, allocations: 16.98 kB / 0.5571 GB, free: 5.777 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.6064, allocations: 4 kB / 0.5571 GB, free: 5.773 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001669/0.6066, allocations: 63.39 kB / 0.5572 GB, free: 5.699 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.885e-06/0.6066, allocations: 0 / 0.5572 GB, free: 5.699 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006203/0.6072, allocations: 149.2 kB / 0.5573 GB, free: 5.547 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.6073, allocations: 51.41 kB / 0.5574 GB, free: 5.484 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.6076, allocations: 174.2 kB / 0.5575 GB, free: 5.309 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.6077, allocations: 25.7 kB / 0.5576 GB, free: 5.277 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.79e-05/0.6078, allocations: 170.5 kB / 0.5577 GB, free: 5.109 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/0.6078, allocations: 19.72 kB / 0.5577 GB, free: 5.09 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-06/0.6078, allocations: 0 / 0.5577 GB, free: 5.09 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.608, allocations: 310.8 kB / 0.558 GB, free: 4.777 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.762e-05/0.608, allocations: 19.98 kB / 0.5581 GB, free: 4.758 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.25e-05/0.6081, allocations: 37.59 kB / 0.5581 GB, free: 4.715 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.845e-05/0.6082, allocations: 27.97 kB / 0.5581 GB, free: 4.688 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.6082, allocations: 4 kB / 0.5581 GB, free: 4.684 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002236/0.6085, allocations: 81.59 kB / 0.5582 GB, free: 4.598 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.6085, allocations: 4 kB / 0.5582 GB, free: 4.594 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.6085, allocations: 192 / 0.5582 GB, free: 4.594 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.6086, allocations: 4 kB / 0.5582 GB, free: 4.59 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.6087, allocations: 23.92 kB / 0.5582 GB, free: 4.566 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.6088, allocations: 0 / 0.5582 GB, free: 4.566 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.39e-05/0.6089, allocations: 4 kB / 0.5582 GB, free: 4.562 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.6089, allocations: 11.95 kB / 0.5583 GB, free: 4.551 MB / 395.1 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 0.0001158/0.609, allocations: 109 kB / 0.5584 GB, free: 4.438 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/0.6091, allocations: 11.91 kB / 0.5584 GB, free: 4.426 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003364/0.6094, allocations: 110.2 kB / 0.5585 GB, free: 4.312 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.6094, allocations: 0 / 0.5585 GB, free: 4.312 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.6094, allocations: 0 / 0.5585 GB, free: 4.312 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.6095, allocations: 0 / 0.5585 GB, free: 4.312 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006232/0.6101, allocations: 387.7 kB / 0.5588 GB, free: 3.887 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.6101, allocations: 4.031 kB / 0.5588 GB, free: 3.883 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.174e-05/0.6102, allocations: 8 kB / 0.5589 GB, free: 3.875 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.6102, allocations: 0 / 0.5589 GB, free: 3.875 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.6103, allocations: 7.984 kB / 0.5589 GB, free: 3.867 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.6103, allocations: 0 / 0.5589 GB, free: 3.867 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.6103, allocations: 0 / 0.5589 GB, free: 3.867 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003139/0.6106, allocations: 214.1 kB / 0.5591 GB, free: 3.633 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.965e-05/0.6107, allocations: 93.02 kB / 0.5592 GB, free: 3.523 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.6108, allocations: 4.359 kB / 0.5592 GB, free: 3.52 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.6109, allocations: 4 kB / 0.5592 GB, free: 3.516 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.6109, allocations: 7.953 kB / 0.5592 GB, free: 3.508 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.611, allocations: 7.922 kB / 0.5592 GB, free: 3.5 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001825/0.6112, allocations: 144 kB / 0.5593 GB, free: 3.359 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6112, allocations: 3.938 kB / 0.5593 GB, free: 3.355 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004353/0.6116, allocations: 39.89 kB / 0.5594 GB, free: 3.316 MB / 395.1 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.001156/0.6128, allocations: 390.5 kB / 0.5597 GB, free: 2.965 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.613, allocations: 51.94 kB / 0.5598 GB, free: 2.914 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.613, allocations: 0 / 0.5598 GB, free: 2.914 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 9.235e-05/0.6131, allocations: 27.98 kB / 0.5598 GB, free: 2.887 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/0.6136, allocations: 31.78 kB / 0.5598 GB, free: 2.855 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005363/0.6141, allocations: 194.9 kB / 0.56 GB, free: 2.625 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.6145, allocations: 0.712 MB / 0.5607 GB, free: 1.887 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.078e-05/0.6146, allocations: 19.42 kB / 0.5607 GB, free: 1.867 MB / 395.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6146, allocations: 0 / 0.5607 GB, free: 1.867 MB / 395.1 MB Notification: Performance of Templates: time 0.005779/0.6204, allocations: 1.909 MB / 0.5626 GB, free: 15.96 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches