Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001456/0.001456, allocations: 180.1 kB / 8.365 MB, free: 0.7109 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/2, 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.001098/0.001098, allocations: 93.67 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.3006/0.3006, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.498e-05/2.522e-05, allocations: 8.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4147/0.4148, allocations: 58.86 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1621/0.5769, allocations: 86.97 MB / 0.5508 GB, free: 12.34 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/0.5773, allocations: 71.97 kB / 0.5509 GB, free: 12.27 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02583/0.6032, allocations: 5.581 MB / 0.5564 GB, free: 6.691 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.6032, allocations: 0 / 0.5564 GB, free: 6.691 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.194e-05/0.6033, allocations: 8 kB / 0.5564 GB, free: 6.684 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.0006281/0.6039, allocations: 406.2 kB / 0.5567 GB, free: 6.242 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.604, allocations: 11.97 kB / 0.5568 GB, free: 6.23 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.838e-05/0.604, allocations: 15.81 kB / 0.5568 GB, free: 6.215 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000448/0.6045, allocations: 227.5 kB / 0.557 GB, free: 5.949 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.6045, allocations: 0 / 0.557 GB, free: 5.949 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.6046, allocations: 8 kB / 0.557 GB, free: 5.941 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.924e-05/0.6047, allocations: 19.98 kB / 0.557 GB, free: 5.922 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.6048, allocations: 49.67 kB / 0.5571 GB, free: 5.867 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.6048, allocations: 3.938 kB / 0.5571 GB, free: 5.863 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.6049, allocations: 0 / 0.5571 GB, free: 5.863 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.6049, allocations: 4 kB / 0.5571 GB, free: 5.859 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005413/0.6054, allocations: 277.4 kB / 0.5573 GB, free: 5.551 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.6056, allocations: 50.69 kB / 0.5574 GB, free: 5.492 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.656e-05/0.6057, allocations: 16.98 kB / 0.5574 GB, free: 5.473 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.6057, allocations: 7.984 kB / 0.5574 GB, free: 5.465 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/0.6059, allocations: 59.41 kB / 0.5575 GB, free: 5.395 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 5.53e-06/0.6059, allocations: 3.938 kB / 0.5575 GB, free: 5.391 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006455/0.6066, allocations: 157.1 kB / 0.5576 GB, free: 5.23 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.522e-05/0.6067, allocations: 55.41 kB / 0.5577 GB, free: 5.164 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003601/0.607, allocations: 217.5 kB / 0.5579 GB, free: 4.945 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.6071, allocations: 25.7 kB / 0.5579 GB, free: 4.914 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.6072, allocations: 166.6 kB / 0.5581 GB, free: 4.75 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.449e-05/0.6072, allocations: 27.64 kB / 0.5581 GB, free: 4.723 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.6073, allocations: 0 / 0.5581 GB, free: 4.723 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.6074, allocations: 310.8 kB / 0.5584 GB, free: 4.41 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.926e-05/0.6075, allocations: 23.92 kB / 0.5584 GB, free: 4.387 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.616e-05/0.6076, allocations: 33.72 kB / 0.5584 GB, free: 4.348 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.872e-05/0.6077, allocations: 23.98 kB / 0.5585 GB, free: 4.324 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6077, allocations: 0 / 0.5585 GB, free: 4.324 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002293/0.6079, allocations: 85.58 kB / 0.5585 GB, free: 4.234 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.6079, allocations: 4 kB / 0.5586 GB, free: 4.23 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.608, allocations: 0 / 0.5586 GB, free: 4.23 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.608, allocations: 4 kB / 0.5586 GB, free: 4.227 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.6082, allocations: 19.92 kB / 0.5586 GB, free: 4.207 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.6082, allocations: 192 / 0.5586 GB, free: 4.207 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.6083, allocations: 16.03 kB / 0.5586 GB, free: 4.191 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.6083, allocations: 7.953 kB / 0.5586 GB, free: 4.184 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.0001066/0.6085, allocations: 105 kB / 0.5587 GB, free: 4.074 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.091e-05/0.6085, allocations: 15.81 kB / 0.5587 GB, free: 4.059 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003336/0.6088, allocations: 111.6 kB / 0.5588 GB, free: 3.945 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.6089, allocations: 4 kB / 0.5588 GB, free: 3.941 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.6089, allocations: 96 / 0.5588 GB, free: 3.941 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.6089, allocations: 3.938 kB / 0.5588 GB, free: 3.938 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006957/0.6096, allocations: 399.8 kB / 0.5592 GB, free: 3.5 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.6096, allocations: 0 / 0.5592 GB, free: 3.5 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.212e-05/0.6097, allocations: 8 kB / 0.5592 GB, free: 3.492 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.406e-05/0.6098, allocations: 7.984 kB / 0.5592 GB, free: 3.484 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.6098, allocations: 0 / 0.5592 GB, free: 3.484 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.6098, allocations: 0 / 0.5592 GB, free: 3.484 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.6098, allocations: 0 / 0.5592 GB, free: 3.484 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.6101, allocations: 225.8 kB / 0.5594 GB, free: 3.238 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.6103, allocations: 96.91 kB / 0.5595 GB, free: 3.125 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.6103, allocations: 7.938 kB / 0.5595 GB, free: 3.117 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.6104, allocations: 0 / 0.5595 GB, free: 3.117 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.6105, allocations: 15.94 kB / 0.5596 GB, free: 3.102 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.6105, allocations: 4 kB / 0.5596 GB, free: 3.098 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002448/0.6108, allocations: 176.4 kB / 0.5597 GB, free: 2.926 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6108, allocations: 0 / 0.5597 GB, free: 2.926 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003985/0.6112, allocations: 35.94 kB / 0.5598 GB, free: 2.891 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.001167/0.6124, allocations: 385.5 kB / 0.5601 GB, free: 2.559 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002385/0.6127, allocations: 59.91 kB / 0.5602 GB, free: 2.5 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.6127, allocations: 4 kB / 0.5602 GB, free: 2.496 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.352e-05/0.6128, allocations: 24 kB / 0.5602 GB, free: 2.473 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004723/0.6133, allocations: 28.02 kB / 0.5602 GB, free: 2.441 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006643/0.6139, allocations: 243.8 kB / 0.5605 GB, free: 2.172 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.6144, allocations: 0.7158 MB / 0.5612 GB, free: 1.43 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.835e-05/0.6144, allocations: 19.42 kB / 0.5612 GB, free: 1.41 MB / 395.1 MB Notification: Performance of SimCode: time 8.51e-07/0.6145, allocations: 0 / 0.5612 GB, free: 1.41 MB / 395.1 MB Notification: Performance of Templates: time 0.00624/0.6207, allocations: 2.071 MB / 0.5632 GB, free: 15.34 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches