Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 177.8 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009609/0.0009609, allocations: 91.97 kB / 261.7 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2118/0.2118, allocations: 43.51 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.274e-05/2.279e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1388, allocations: 58.86 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4819/0.6207, allocations: 86.95 MB / 0.5509 GB, free: 8.016 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/0.621, allocations: 73.88 kB / 0.5509 GB, free: 7.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01319/0.6342, allocations: 5.58 MB / 0.5564 GB, free: 3.535 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6343, allocations: 0 / 0.5564 GB, free: 3.535 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.6343, allocations: 4 kB / 0.5564 GB, free: 3.531 MB / 362.7 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.0004006/0.6347, allocations: 404.6 kB / 0.5568 GB, free: 3.102 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.6348, allocations: 12.03 kB / 0.5568 GB, free: 3.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.208e-05/0.6348, allocations: 19.31 kB / 0.5568 GB, free: 3.074 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.6351, allocations: 232.9 kB / 0.557 GB, free: 2.812 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.6352, allocations: 4 kB / 0.557 GB, free: 2.809 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.6352, allocations: 0 / 0.557 GB, free: 2.809 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.632e-05/0.6353, allocations: 23.67 kB / 0.557 GB, free: 2.793 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.235e-05/0.6354, allocations: 49.55 kB / 0.5571 GB, free: 2.742 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.6354, allocations: 0 / 0.5571 GB, free: 2.742 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.6354, allocations: 0 / 0.5571 GB, free: 2.742 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.6354, allocations: 0 / 0.5571 GB, free: 2.742 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003332/0.6358, allocations: 285.2 kB / 0.5574 GB, free: 2.449 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.121e-05/0.6359, allocations: 50.06 kB / 0.5574 GB, free: 2.402 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.194e-05/0.6359, allocations: 20.59 kB / 0.5574 GB, free: 2.383 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.6359, allocations: 0 / 0.5574 GB, free: 2.383 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001102/0.636, allocations: 66.66 kB / 0.5575 GB, free: 2.312 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.6361, allocations: 0 / 0.5575 GB, free: 2.312 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003997/0.6365, allocations: 157.5 kB / 0.5577 GB, free: 2.176 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/0.6365, allocations: 55.41 kB / 0.5577 GB, free: 2.109 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.6367, allocations: 209.7 kB / 0.5579 GB, free: 1.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.6367, allocations: 25.7 kB / 0.5579 GB, free: 1.898 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.093e-05/0.6367, allocations: 113.8 kB / 0.558 GB, free: 1.801 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.6368, allocations: 26.77 kB / 0.5581 GB, free: 1.777 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/0.6368, allocations: 4 kB / 0.5581 GB, free: 1.773 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.028e-05/0.6369, allocations: 325.7 kB / 0.5584 GB, free: 1.453 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.073e-05/0.6369, allocations: 18.94 kB / 0.5584 GB, free: 1.441 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.599e-05/0.6369, allocations: 39.7 kB / 0.5584 GB, free: 1.406 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.839e-05/0.637, allocations: 22.03 kB / 0.5585 GB, free: 1.395 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.637, allocations: 4 kB / 0.5585 GB, free: 1.391 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001163/0.6371, allocations: 91.48 kB / 0.5585 GB, free: 1.309 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.6371, allocations: 12.03 kB / 0.5586 GB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.6371, allocations: 0 / 0.5586 GB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.6372, allocations: 0 / 0.5586 GB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.028e-05/0.6373, allocations: 15.94 kB / 0.5586 GB, free: 1.281 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.6373, allocations: 4 kB / 0.5586 GB, free: 1.277 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.664e-05/0.6373, allocations: 3.984 kB / 0.5586 GB, free: 1.273 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.6373, allocations: 7.953 kB / 0.5586 GB, free: 1.266 MB / 362.7 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 6.045e-05/0.6374, allocations: 106.4 kB / 0.5587 GB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.943e-05/0.6374, allocations: 11.81 kB / 0.5587 GB, free: 1.145 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000184/0.6376, allocations: 120 kB / 0.5588 GB, free: 1.043 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.6376, allocations: 0 / 0.5588 GB, free: 1.043 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6376, allocations: 0 / 0.5588 GB, free: 1.043 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.6376, allocations: 0 / 0.5588 GB, free: 1.043 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003294/0.638, allocations: 396.5 kB / 0.5592 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.638, allocations: 4 kB / 0.5592 GB, free: 0.6484 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.695e-05/0.638, allocations: 8 kB / 0.5592 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.638, allocations: 0 / 0.5592 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.6381, allocations: 4.031 kB / 0.5592 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.6381, allocations: 4 kB / 0.5592 GB, free: 0.6328 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.6381, allocations: 3.984 kB / 0.5592 GB, free: 0.6289 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.6382, allocations: 220.8 kB / 0.5594 GB, free: 416 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.115e-05/0.6383, allocations: 103.1 kB / 0.5595 GB, free: 296 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.6383, allocations: 0 / 0.5595 GB, free: 296 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.218e-05/0.6384, allocations: 11.98 kB / 0.5595 GB, free: 284 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.6385, allocations: 3.953 kB / 0.5595 GB, free: 280 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.6385, allocations: 6.875 kB / 0.5595 GB, free: 276 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001167/0.6386, allocations: 175 kB / 0.5597 GB, free: 132 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6386, allocations: 0 / 0.5597 GB, free: 132 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002494/0.6389, allocations: 31.92 kB / 0.5597 GB, free: 100 kB / 362.7 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.0008954/0.6398, allocations: 397.1 kB / 0.5601 GB, free: 15.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000138/0.6399, allocations: 56.88 kB / 0.5602 GB, free: 15.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.6399, allocations: 4.062 kB / 0.5602 GB, free: 15.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.39e-05/0.64, allocations: 26.64 kB / 0.5602 GB, free: 15.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.6403, allocations: 26.25 kB / 0.5602 GB, free: 15.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004164/0.6407, allocations: 208.7 kB / 0.5604 GB, free: 15.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.641, allocations: 0.7188 MB / 0.5611 GB, free: 14.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.513e-05/0.6411, allocations: 16.62 kB / 0.5611 GB, free: 14.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.177e-05/0.6411, allocations: 23.42 kB / 0.5612 GB, free: 14.69 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6411, allocations: 0 / 0.5612 GB, free: 14.69 MB / 378.7 MB Notification: Performance of Templates: time 0.004319/0.6454, allocations: 1.702 MB / 0.5628 GB, free: 13.01 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches