Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002182/0.002182, allocations: 179.4 kB / 8.364 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.102/2.102, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.001157/0.001156, allocations: 89.55 kB / 262.1 MB, free: 13.88 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.2928/0.2928, allocations: 43.48 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.729e-05/2.743e-05, allocations: 8 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4048, allocations: 58.85 MB / 477.1 MB, free: 5.285 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1632/0.568, allocations: 86.81 MB / 0.5507 GB, free: 12.53 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004067/0.5685, allocations: 75.47 kB / 0.5508 GB, free: 12.46 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02808/0.5966, allocations: 5.481 MB / 0.5561 GB, free: 6.984 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5967, allocations: 0 / 0.5561 GB, free: 6.984 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.963e-05/0.5967, allocations: 4 kB / 0.5561 GB, free: 6.98 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.0005796/0.5973, allocations: 410 kB / 0.5565 GB, free: 6.535 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.5974, allocations: 16.03 kB / 0.5565 GB, free: 6.52 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.633e-05/0.5974, allocations: 7.906 kB / 0.5565 GB, free: 6.512 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004334/0.5979, allocations: 230.7 kB / 0.5567 GB, free: 6.246 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.5979, allocations: 0 / 0.5567 GB, free: 6.246 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.5979, allocations: 4 kB / 0.5567 GB, free: 6.242 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.325e-05/0.598, allocations: 16 kB / 0.5568 GB, free: 6.227 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.5982, allocations: 49.67 kB / 0.5568 GB, free: 6.172 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.5982, allocations: 0 / 0.5568 GB, free: 6.172 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.5982, allocations: 3.938 kB / 0.5568 GB, free: 6.168 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.5982, allocations: 0 / 0.5568 GB, free: 6.168 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002387/0.5985, allocations: 178.2 kB / 0.557 GB, free: 5.957 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.5986, allocations: 38.64 kB / 0.557 GB, free: 5.91 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.69e-05/0.5987, allocations: 20.94 kB / 0.557 GB, free: 5.887 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.5987, allocations: 0 / 0.557 GB, free: 5.887 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/0.5989, allocations: 59.41 kB / 0.5571 GB, free: 5.816 MB / 395.1 MB Notification: Performance of pre-optimization done (n=5): time 1.934e-06/0.5989, allocations: 4 kB / 0.5571 GB, free: 5.812 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002601/0.5992, allocations: 93.41 kB / 0.5572 GB, free: 5.715 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.5992, allocations: 51.41 kB / 0.5572 GB, free: 5.652 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003588/0.5996, allocations: 225.8 kB / 0.5575 GB, free: 5.422 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.5996, allocations: 25.7 kB / 0.5575 GB, free: 5.391 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.519e-05/0.5997, allocations: 170.6 kB / 0.5576 GB, free: 5.223 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.5998, allocations: 7.812 kB / 0.5576 GB, free: 5.215 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.5998, allocations: 3.938 kB / 0.5576 GB, free: 5.211 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.6, allocations: 326.8 kB / 0.558 GB, free: 4.883 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.986e-05/0.6, allocations: 8 kB / 0.558 GB, free: 4.875 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.141e-05/0.6001, allocations: 33.69 kB / 0.558 GB, free: 4.836 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.286e-05/0.6002, allocations: 19.92 kB / 0.558 GB, free: 4.816 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6002, allocations: 4 kB / 0.558 GB, free: 4.812 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001591/0.6003, allocations: 65.58 kB / 0.5581 GB, free: 4.742 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.6004, allocations: 8 kB / 0.5581 GB, free: 4.734 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.6004, allocations: 0 / 0.5581 GB, free: 4.734 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.6004, allocations: 4.031 kB / 0.5581 GB, free: 4.73 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.6005, allocations: 11.98 kB / 0.5581 GB, free: 4.719 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.6006, allocations: 4 kB / 0.5581 GB, free: 4.715 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.575e-05/0.6006, allocations: 0 / 0.5581 GB, free: 4.715 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.6007, allocations: 4 kB / 0.5581 GB, free: 4.711 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.629e-05/0.6008, allocations: 105 kB / 0.5582 GB, free: 4.602 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.522e-05/0.6008, allocations: 15.77 kB / 0.5582 GB, free: 4.586 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/0.6011, allocations: 99.22 kB / 0.5583 GB, free: 4.48 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.6011, allocations: 4 kB / 0.5583 GB, free: 4.477 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6011, allocations: 0 / 0.5583 GB, free: 4.477 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.6011, allocations: 0 / 0.5583 GB, free: 4.477 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.6014, allocations: 186.1 kB / 0.5585 GB, free: 4.258 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.6014, allocations: 192 / 0.5585 GB, free: 4.258 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.968e-05/0.6014, allocations: 8 kB / 0.5585 GB, free: 4.25 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.6015, allocations: 0 / 0.5585 GB, free: 4.25 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.6015, allocations: 3.953 kB / 0.5585 GB, free: 4.246 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.6015, allocations: 0 / 0.5585 GB, free: 4.246 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.6015, allocations: 4 kB / 0.5585 GB, free: 4.242 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.6017, allocations: 116.9 kB / 0.5586 GB, free: 4.109 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.6019, allocations: 100.9 kB / 0.5587 GB, free: 3.992 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.447e-05/0.6019, allocations: 0 / 0.5587 GB, free: 3.992 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.601e-05/0.602, allocations: 7.953 kB / 0.5587 GB, free: 3.984 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.602, allocations: 7.984 kB / 0.5587 GB, free: 3.977 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.6021, allocations: 4 kB / 0.5588 GB, free: 3.973 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002543/0.6023, allocations: 184.2 kB / 0.5589 GB, free: 3.793 MB / 395.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6023, allocations: 0 / 0.5589 GB, free: 3.793 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003172/0.6027, allocations: 31.94 kB / 0.559 GB, free: 3.762 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.001024/0.6037, allocations: 348.3 kB / 0.5593 GB, free: 3.449 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.000147/0.6039, allocations: 39.92 kB / 0.5593 GB, free: 3.41 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.6039, allocations: 4 kB / 0.5593 GB, free: 3.406 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.078e-05/0.6039, allocations: 16 kB / 0.5593 GB, free: 3.391 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.6043, allocations: 31.34 kB / 0.5594 GB, free: 3.363 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005476/0.6048, allocations: 231 kB / 0.5596 GB, free: 3.109 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.6052, allocations: 0.7197 MB / 0.5603 GB, free: 2.363 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.61e-05/0.6053, allocations: 11.44 kB / 0.5603 GB, free: 2.352 MB / 395.1 MB Notification: Performance of SimCode: time 7.12e-07/0.6053, allocations: 0 / 0.5603 GB, free: 2.352 MB / 395.1 MB Notification: Performance of Templates: time 0.005402/0.6107, allocations: 1.916 MB / 0.5622 GB, free: 452 kB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches