Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001745/0.001745, allocations: 182.7 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.667/1.667, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009148/0.0009148, allocations: 94.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2262/0.2262, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003379, allocations: 12 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1484, allocations: 58.85 MB / 490.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4435/0.592, allocations: 87.69 MB / 0.5644 GB, free: 12.06 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/0.5923, allocations: 81.89 kB / 0.5645 GB, free: 12.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01479/0.6071, allocations: 5.319 MB / 0.5697 GB, free: 7.531 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.6071, allocations: 0 / 0.5697 GB, free: 7.531 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.6071, allocations: 4 kB / 0.5697 GB, free: 7.527 MB / 378.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.0005743/0.6077, allocations: 421.6 kB / 0.5701 GB, free: 7.074 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.6078, allocations: 12.03 kB / 0.5701 GB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.6078, allocations: 11.81 kB / 0.5701 GB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.6082, allocations: 214.3 kB / 0.5703 GB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.6082, allocations: 11.48 kB / 0.5703 GB, free: 6.797 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.6082, allocations: 8 kB / 0.5703 GB, free: 6.789 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.6084, allocations: 52.8 kB / 0.5704 GB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.6084, allocations: 0 / 0.5704 GB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.6084, allocations: 0 / 0.5704 GB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.6084, allocations: 4 kB / 0.5704 GB, free: 6.734 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.613e-05/0.6085, allocations: 22.92 kB / 0.5704 GB, free: 6.719 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003847/0.6089, allocations: 305.6 kB / 0.5707 GB, free: 6.391 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.6091, allocations: 53.06 kB / 0.5707 GB, free: 6.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.6091, allocations: 0 / 0.5707 GB, free: 6.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.6093, allocations: 78.25 kB / 0.5708 GB, free: 6.258 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.6093, allocations: 0 / 0.5708 GB, free: 6.258 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006073/0.6099, allocations: 184.1 kB / 0.571 GB, free: 6.105 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.61, allocations: 59.36 kB / 0.571 GB, free: 6.035 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.6101, allocations: 180.2 kB / 0.5712 GB, free: 5.871 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.6102, allocations: 25.7 kB / 0.5712 GB, free: 5.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.665e-05/0.6102, allocations: 102.1 kB / 0.5713 GB, free: 5.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.6103, allocations: 30.52 kB / 0.5714 GB, free: 5.727 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.6103, allocations: 0 / 0.5714 GB, free: 5.727 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.6104, allocations: 325.8 kB / 0.5717 GB, free: 5.406 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.615e-05/0.6105, allocations: 19.55 kB / 0.5717 GB, free: 5.391 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.51e-05/0.6106, allocations: 42.02 kB / 0.5717 GB, free: 5.352 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.453e-05/0.6107, allocations: 21.5 kB / 0.5718 GB, free: 5.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.6107, allocations: 0 / 0.5718 GB, free: 5.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002154/0.6109, allocations: 107.5 kB / 0.5719 GB, free: 5.246 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.6109, allocations: 7.438 kB / 0.5719 GB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.6109, allocations: 0 / 0.5719 GB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.611, allocations: 8.031 kB / 0.5719 GB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.327e-05/0.6111, allocations: 16.61 kB / 0.5719 GB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.6111, allocations: 0 / 0.5719 GB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.298e-05/0.6111, allocations: 9.766 kB / 0.5719 GB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.6111, allocations: 4.438 kB / 0.5719 GB, free: 5.207 MB / 378.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 () * Number of clocked 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.0001087/0.6113, allocations: 132.2 kB / 0.572 GB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.6113, allocations: 11.81 kB / 0.572 GB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/0.6115, allocations: 120.9 kB / 0.5722 GB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.6115, allocations: 8 kB / 0.5722 GB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6116, allocations: 0 / 0.5722 GB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.6116, allocations: 0 / 0.5722 GB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004782/0.612, allocations: 414.6 kB / 0.5726 GB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.6121, allocations: 4.375 kB / 0.5726 GB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.553e-05/0.6121, allocations: 8 kB / 0.5726 GB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.6121, allocations: 0 / 0.5726 GB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.6121, allocations: 11.38 kB / 0.5726 GB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.6121, allocations: 7.984 kB / 0.5726 GB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.6121, allocations: 0 / 0.5726 GB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.6124, allocations: 224.2 kB / 0.5728 GB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.81e-05/0.6125, allocations: 92.95 kB / 0.5729 GB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.6125, allocations: 12 kB / 0.5729 GB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.438e-05/0.6126, allocations: 8 kB / 0.5729 GB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.6126, allocations: 11.97 kB / 0.5729 GB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.6127, allocations: 0 / 0.5729 GB, free: 4.137 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001223/0.6128, allocations: 158.4 kB / 0.5731 GB, free: 4.004 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6128, allocations: 0 / 0.5731 GB, free: 4.004 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002656/0.6131, allocations: 35.31 kB / 0.5731 GB, free: 3.973 MB / 378.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) * Number of clocked states: 0 () * 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.001043/0.6141, allocations: 471.1 kB / 0.5736 GB, free: 3.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001941/0.6143, allocations: 62.97 kB / 0.5736 GB, free: 3.523 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6143, allocations: 3.938 kB / 0.5736 GB, free: 3.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.076e-05/0.6144, allocations: 31.61 kB / 0.5736 GB, free: 3.496 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.6147, allocations: 29.14 kB / 0.5737 GB, free: 3.473 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004686/0.6152, allocations: 253.6 kB / 0.5739 GB, free: 3.219 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.6155, allocations: 0.715 MB / 0.5746 GB, free: 2.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.378e-05/0.6155, allocations: 12.56 kB / 0.5746 GB, free: 2.469 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.057e-05/0.6156, allocations: 19.42 kB / 0.5746 GB, free: 2.449 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6156, allocations: 0 / 0.5746 GB, free: 2.449 MB / 378.7 MB Notification: Performance of Templates: time 0.004264/0.6199, allocations: 1.69 MB / 0.5763 GB, free: 0.7695 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches