Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002234/0.002234, allocations: 179.4 kB / 8.363 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.167/2.167, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001102/0.001102, allocations: 83.47 kB / 262.1 MB, free: 13.87 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.2994/0.2994, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.574e-05/2.589e-05, allocations: 8.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4355/0.4355, allocations: 58.86 MB / 477.1 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1761/0.6117, allocations: 86.8 MB / 0.5507 GB, free: 12.51 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/0.612, allocations: 67.97 kB / 0.5507 GB, free: 12.45 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0231/0.6351, allocations: 5.171 MB / 0.5558 GB, free: 7.277 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.6352, allocations: 0 / 0.5558 GB, free: 7.277 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.775e-05/0.6352, allocations: 4.547 kB / 0.5558 GB, free: 7.273 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005447/0.6358, allocations: 386.2 kB / 0.5562 GB, free: 6.852 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.6358, allocations: 12.03 kB / 0.5562 GB, free: 6.84 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.777e-05/0.6359, allocations: 7.906 kB / 0.5562 GB, free: 6.832 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/0.6363, allocations: 225.5 kB / 0.5564 GB, free: 6.574 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.6363, allocations: 0 / 0.5564 GB, free: 6.574 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.6364, allocations: 4 kB / 0.5564 GB, free: 6.57 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.86e-05/0.6365, allocations: 15.98 kB / 0.5564 GB, free: 6.555 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.6366, allocations: 41.69 kB / 0.5565 GB, free: 6.508 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.6366, allocations: 0 / 0.5565 GB, free: 6.508 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.6366, allocations: 4 kB / 0.5565 GB, free: 6.504 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.6366, allocations: 3.938 kB / 0.5565 GB, free: 6.5 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002345/0.6369, allocations: 174.2 kB / 0.5566 GB, free: 6.293 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.637, allocations: 46.56 kB / 0.5567 GB, free: 6.238 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.487e-05/0.6371, allocations: 20.94 kB / 0.5567 GB, free: 6.215 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.6371, allocations: 0 / 0.5567 GB, free: 6.215 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001527/0.6373, allocations: 59.41 kB / 0.5568 GB, free: 6.145 MB / 395.1 MB Notification: Performance of pre-optimization done (n=5): time 1.864e-06/0.6373, allocations: 4 kB / 0.5568 GB, free: 6.141 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002486/0.6376, allocations: 73.58 kB / 0.5568 GB, free: 6.062 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.6376, allocations: 63.34 kB / 0.5569 GB, free: 5.988 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.6379, allocations: 158.3 kB / 0.557 GB, free: 5.828 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.6379, allocations: 25.7 kB / 0.5571 GB, free: 5.797 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.638, allocations: 162.6 kB / 0.5572 GB, free: 5.637 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.6381, allocations: 19.73 kB / 0.5572 GB, free: 5.617 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.627e-06/0.6381, allocations: 0 / 0.5572 GB, free: 5.617 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.6383, allocations: 318.8 kB / 0.5575 GB, free: 5.297 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.169e-05/0.6383, allocations: 12 kB / 0.5576 GB, free: 5.285 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.718e-05/0.6384, allocations: 29.7 kB / 0.5576 GB, free: 5.25 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.464e-05/0.6385, allocations: 15.98 kB / 0.5576 GB, free: 5.234 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6385, allocations: 0 / 0.5576 GB, free: 5.234 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001681/0.6386, allocations: 69.58 kB / 0.5577 GB, free: 5.16 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.6387, allocations: 8 kB / 0.5577 GB, free: 5.152 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.6387, allocations: 0 / 0.5577 GB, free: 5.152 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.6387, allocations: 4.031 kB / 0.5577 GB, free: 5.148 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.6388, allocations: 11.98 kB / 0.5577 GB, free: 5.137 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.6389, allocations: 4 kB / 0.5577 GB, free: 5.133 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.29e-05/0.639, allocations: 0 / 0.5577 GB, free: 5.133 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.639, allocations: 8 kB / 0.5577 GB, free: 5.125 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 (7): * Single equations (assignments): 7 * 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.914e-05/0.6391, allocations: 101 kB / 0.5578 GB, free: 5.02 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.6391, allocations: 19.77 kB / 0.5578 GB, free: 5 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002365/0.6394, allocations: 86 kB / 0.5579 GB, free: 4.91 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.6394, allocations: 8 kB / 0.5579 GB, free: 4.902 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.6394, allocations: 0 / 0.5579 GB, free: 4.902 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.6394, allocations: 0 / 0.5579 GB, free: 4.902 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.6396, allocations: 166.2 kB / 0.5581 GB, free: 4.703 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.6396, allocations: 3.984 kB / 0.5581 GB, free: 4.699 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.496e-05/0.6397, allocations: 4.188 kB / 0.5581 GB, free: 4.695 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.6397, allocations: 4 kB / 0.5581 GB, free: 4.691 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.6397, allocations: 3.953 kB / 0.5581 GB, free: 4.688 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.6397, allocations: 4 kB / 0.5581 GB, free: 4.684 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.6398, allocations: 0 / 0.5581 GB, free: 4.684 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.64, allocations: 109 kB / 0.5582 GB, free: 4.559 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.869e-05/0.6401, allocations: 88.92 kB / 0.5583 GB, free: 4.453 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.6401, allocations: 7.938 kB / 0.5583 GB, free: 4.445 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.211e-05/0.6402, allocations: 11.88 kB / 0.5583 GB, free: 4.434 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.6403, allocations: 8 kB / 0.5583 GB, free: 4.426 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.6403, allocations: 0 / 0.5583 GB, free: 4.426 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001672/0.6405, allocations: 140.1 kB / 0.5584 GB, free: 4.289 MB / 395.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6405, allocations: 0 / 0.5584 GB, free: 4.289 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003125/0.6408, allocations: 27.94 kB / 0.5585 GB, free: 4.262 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001037/0.6418, allocations: 340.9 kB / 0.5588 GB, free: 3.953 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001664/0.642, allocations: 43.92 kB / 0.5588 GB, free: 3.91 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.6421, allocations: 0 / 0.5588 GB, free: 3.91 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.41e-05/0.6421, allocations: 19.94 kB / 0.5588 GB, free: 3.891 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.6425, allocations: 31.34 kB / 0.5589 GB, free: 3.863 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004558/0.643, allocations: 165.9 kB / 0.559 GB, free: 3.672 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.6433, allocations: 0.7041 MB / 0.5597 GB, free: 2.941 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.429e-05/0.6434, allocations: 19.42 kB / 0.5597 GB, free: 2.922 MB / 395.1 MB Notification: Performance of SimCode: time 6.51e-07/0.6434, allocations: 0 / 0.5597 GB, free: 2.922 MB / 395.1 MB Notification: Performance of Templates: time 0.005062/0.6485, allocations: 1.689 MB / 0.5614 GB, free: 1.238 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches