Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002217/0.002222, allocations: 178.4 kB / 8.362 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.373/2.373, 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.001083/0.001083, allocations: 93.09 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.2992/0.2992, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.06e-05/3.104e-05, allocations: 8.219 kB / 418.2 MB, free: 41.02 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4078, allocations: 58.86 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1649/0.5728, allocations: 86.82 MB / 0.5507 GB, free: 12.48 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/0.5731, allocations: 71.97 kB / 0.5508 GB, free: 12.41 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02901/0.6022, allocations: 6.428 MB / 0.557 GB, free: 5.98 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.6022, allocations: 0 / 0.557 GB, free: 5.98 MB / 395.1 MB Notification: Performance of Transformations before backend: time 5.163e-05/0.6023, allocations: 16 kB / 0.5571 GB, free: 5.965 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00114/0.6035, allocations: 0.5947 MB / 0.5576 GB, free: 5.324 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.6035, allocations: 8.031 kB / 0.5577 GB, free: 5.316 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.6037, allocations: 47.44 kB / 0.5577 GB, free: 5.27 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.6051, allocations: 491 kB / 0.5582 GB, free: 4.75 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.6052, allocations: 0 / 0.5582 GB, free: 4.75 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.6052, allocations: 4 kB / 0.5582 GB, free: 4.746 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001384/0.6054, allocations: 31.98 kB / 0.5582 GB, free: 4.715 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.6056, allocations: 87.23 kB / 0.5583 GB, free: 4.617 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.6056, allocations: 3.938 kB / 0.5583 GB, free: 4.613 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.6057, allocations: 0 / 0.5583 GB, free: 4.613 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.6057, allocations: 0 / 0.5583 GB, free: 4.613 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006928/0.6064, allocations: 366.8 kB / 0.5586 GB, free: 4.215 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.6067, allocations: 93.34 kB / 0.5587 GB, free: 4.105 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.447e-05/0.6068, allocations: 37.66 kB / 0.5588 GB, free: 4.062 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.434e-05/0.6068, allocations: 4 kB / 0.5588 GB, free: 4.059 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002933/0.6071, allocations: 101.2 kB / 0.5589 GB, free: 3.941 MB / 395.1 MB Notification: Performance of pre-optimization done (n=10): time 3.276e-06/0.6071, allocations: 0 / 0.5589 GB, free: 3.941 MB / 395.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005861/0.6077, allocations: 160.9 kB / 0.559 GB, free: 3.777 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.649e-05/0.6078, allocations: 85.11 kB / 0.5591 GB, free: 3.676 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002152/0.61, allocations: 0.9005 MB / 0.56 GB, free: 2.77 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 4.893e-05/0.6101, allocations: 29.7 kB / 0.56 GB, free: 2.734 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.6103, allocations: 246.6 kB / 0.5602 GB, free: 2.492 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.909e-05/0.6104, allocations: 19.72 kB / 0.5603 GB, free: 2.473 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-06/0.6104, allocations: 4 kB / 0.5603 GB, free: 2.469 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.6106, allocations: 322.8 kB / 0.5606 GB, free: 2.145 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-05/0.6107, allocations: 24 kB / 0.5606 GB, free: 2.121 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.6108, allocations: 47.42 kB / 0.5606 GB, free: 2.062 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.611, allocations: 35.92 kB / 0.5607 GB, free: 2.027 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.611, allocations: 0 / 0.5607 GB, free: 2.027 MB / 395.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003228/0.6113, allocations: 113.8 kB / 0.5608 GB, free: 1.91 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.6114, allocations: 4 kB / 0.5608 GB, free: 1.906 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.6114, allocations: 8 kB / 0.5608 GB, free: 1.898 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.6114, allocations: 0 / 0.5608 GB, free: 1.898 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.6116, allocations: 19.98 kB / 0.5608 GB, free: 1.879 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.6117, allocations: 4 kB / 0.5608 GB, free: 1.875 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002805/0.612, allocations: 15.92 kB / 0.5608 GB, free: 1.859 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.612, allocations: 4 kB / 0.5608 GB, free: 1.855 MB / 395.1 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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001283/0.6121, allocations: 120.8 kB / 0.5609 GB, free: 1.73 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.6123, allocations: 51.34 kB / 0.561 GB, free: 1.68 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005867/0.6129, allocations: 185.9 kB / 0.5612 GB, free: 1.488 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.6129, allocations: 4 kB / 0.5612 GB, free: 1.484 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.6129, allocations: 0 / 0.5612 GB, free: 1.484 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.6129, allocations: 0 / 0.5612 GB, free: 1.484 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005957/0.6135, allocations: 365.8 kB / 0.5615 GB, free: 1.09 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.6136, allocations: 7.875 kB / 0.5615 GB, free: 1.082 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.6137, allocations: 15.95 kB / 0.5615 GB, free: 1.066 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.6137, allocations: 4 kB / 0.5616 GB, free: 1.062 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.6137, allocations: 0 / 0.5616 GB, free: 1.062 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.6137, allocations: 4 kB / 0.5616 GB, free: 1.059 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.6138, allocations: 0 / 0.5616 GB, free: 1.059 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005251/0.6143, allocations: 218.8 kB / 0.5618 GB, free: 0.8164 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004435/0.6148, allocations: 192.4 kB / 0.5619 GB, free: 0.6094 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.6149, allocations: 11.98 kB / 0.562 GB, free: 0.5977 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.6151, allocations: 8 kB / 0.562 GB, free: 0.5898 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.489e-05/0.6152, allocations: 11.98 kB / 0.562 GB, free: 0.5781 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.6152, allocations: 8.125 kB / 0.562 GB, free: 0.5703 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001487/0.6167, allocations: 0.7136 MB / 0.5627 GB, free: 15.86 MB / 411.1 MB Notification: Performance of sort global known variables: time 9.52e-07/0.6168, allocations: 0 / 0.5627 GB, free: 15.86 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005853/0.6173, allocations: 80 kB / 0.5628 GB, free: 15.78 MB / 411.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001106/0.6185, allocations: 354 kB / 0.5631 GB, free: 15.47 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0003185/0.6188, allocations: 67.98 kB / 0.5632 GB, free: 15.41 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.6189, allocations: 0 / 0.5632 GB, free: 15.41 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.619, allocations: 43.92 kB / 0.5632 GB, free: 15.36 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007151/0.6197, allocations: 65.67 kB / 0.5633 GB, free: 15.3 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.6219, allocations: 0.8191 MB / 0.5641 GB, free: 14.45 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006286/0.6225, allocations: 0.8547 MB / 0.5649 GB, free: 13.57 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002525/0.6228, allocations: 39.38 kB / 0.5649 GB, free: 13.53 MB / 411.1 MB Notification: Performance of SimCode: time 1.273e-06/0.6228, allocations: 0 / 0.5649 GB, free: 13.53 MB / 411.1 MB Notification: Performance of Templates: time 0.01565/0.6385, allocations: 5.593 MB / 0.5704 GB, free: 7.938 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches