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.0009664/0.0009665, allocations: 180.9 kB / 8.006 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.756/1.756, allocations: 205.3 MB / 213.7 MB, free: 1.676 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.0009139/0.000914, allocations: 90.62 kB / 261.8 MB, free: 1.617 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.2149/0.2149, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.059e-05/2.069e-05, allocations: 4 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1316, allocations: 58.86 MB / 477.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.455/0.5866, allocations: 86.92 MB / 0.5508 GB, free: 8.039 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.5869, allocations: 79.73 kB / 0.5509 GB, free: 8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01274/0.5997, allocations: 5.276 MB / 0.556 GB, free: 3.828 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.5997, allocations: 0 / 0.556 GB, free: 3.828 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.5997, allocations: 3.938 kB / 0.5561 GB, free: 3.824 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.0003814/0.6001, allocations: 401 kB / 0.5564 GB, free: 3.398 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.6002, allocations: 12.02 kB / 0.5564 GB, free: 3.387 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.346e-05/0.6002, allocations: 15.81 kB / 0.5565 GB, free: 3.371 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.6005, allocations: 210.3 kB / 0.5567 GB, free: 3.129 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.6005, allocations: 3.984 kB / 0.5567 GB, free: 3.125 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.6006, allocations: 4 kB / 0.5567 GB, free: 3.121 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.074e-05/0.6007, allocations: 19.88 kB / 0.5567 GB, free: 3.109 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.754e-05/0.6007, allocations: 45.3 kB / 0.5567 GB, free: 3.062 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.6008, allocations: 4 kB / 0.5567 GB, free: 3.059 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.6008, allocations: 0 / 0.5567 GB, free: 3.059 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.6008, allocations: 3.938 kB / 0.5567 GB, free: 3.055 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003152/0.6011, allocations: 269.8 kB / 0.557 GB, free: 2.773 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.836e-05/0.6012, allocations: 48.75 kB / 0.557 GB, free: 2.727 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.2e-05/0.6012, allocations: 16.8 kB / 0.5571 GB, free: 2.711 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.6013, allocations: 4 kB / 0.5571 GB, free: 2.707 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001179/0.6014, allocations: 69.33 kB / 0.5571 GB, free: 2.637 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.6014, allocations: 4 kB / 0.5571 GB, free: 2.633 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004328/0.6018, allocations: 150 kB / 0.5573 GB, free: 2.504 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/0.6019, allocations: 59.33 kB / 0.5573 GB, free: 2.434 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.602, allocations: 179.6 kB / 0.5575 GB, free: 2.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.6021, allocations: 25.7 kB / 0.5575 GB, free: 2.238 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.387e-05/0.6021, allocations: 103.4 kB / 0.5576 GB, free: 2.148 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.6021, allocations: 27.39 kB / 0.5577 GB, free: 2.125 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/0.6021, allocations: 0 / 0.5577 GB, free: 2.125 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.386e-05/0.6022, allocations: 322.5 kB / 0.558 GB, free: 1.805 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.074e-05/0.6022, allocations: 26.94 kB / 0.558 GB, free: 1.785 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.627e-05/0.6023, allocations: 32.66 kB / 0.558 GB, free: 1.758 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.879e-05/0.6023, allocations: 23.8 kB / 0.558 GB, free: 1.742 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.6023, allocations: 0 / 0.558 GB, free: 1.742 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001099/0.6025, allocations: 79.84 kB / 0.5581 GB, free: 1.668 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.6025, allocations: 11.94 kB / 0.5581 GB, free: 1.656 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.6025, allocations: 0 / 0.5581 GB, free: 1.656 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.6025, allocations: 32 / 0.5581 GB, free: 1.656 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.928e-05/0.6026, allocations: 20.17 kB / 0.5581 GB, free: 1.637 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.6026, allocations: 8 kB / 0.5582 GB, free: 1.629 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.407e-05/0.6027, allocations: 3.562 kB / 0.5582 GB, free: 1.629 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.6027, allocations: 7.953 kB / 0.5582 GB, free: 1.621 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.167e-05/0.6027, allocations: 106.4 kB / 0.5583 GB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.952e-05/0.6028, allocations: 15.8 kB / 0.5583 GB, free: 1.496 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.603, allocations: 113.5 kB / 0.5584 GB, free: 1.398 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.603, allocations: 4 kB / 0.5584 GB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.603, allocations: 4 kB / 0.5584 GB, free: 1.391 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.603, allocations: 3.984 kB / 0.5584 GB, free: 1.387 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.6033, allocations: 378.2 kB / 0.5588 GB, free: 1.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.6033, allocations: 0 / 0.5588 GB, free: 1.012 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.606e-05/0.6033, allocations: 11.98 kB / 0.5588 GB, free: 1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.6033, allocations: 0 / 0.5588 GB, free: 1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.6034, allocations: 4 kB / 0.5588 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.6034, allocations: 288 / 0.5588 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.6034, allocations: 7.969 kB / 0.5588 GB, free: 0.9883 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.6035, allocations: 216.2 kB / 0.559 GB, free: 0.7695 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.696e-05/0.6036, allocations: 96.12 kB / 0.5591 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.6036, allocations: 0 / 0.5591 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.085e-05/0.6037, allocations: 4 kB / 0.5591 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.6037, allocations: 23.81 kB / 0.5591 GB, free: 0.6328 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.6038, allocations: 4 kB / 0.5591 GB, free: 0.6289 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.748e-05/0.6039, allocations: 142.3 kB / 0.5593 GB, free: 0.5117 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6039, allocations: 0 / 0.5593 GB, free: 0.5117 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002412/0.6041, allocations: 31.5 kB / 0.5593 GB, free: 496 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.0008295/0.6049, allocations: 392.9 kB / 0.5597 GB, free: 164 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001257/0.6051, allocations: 54.23 kB / 0.5597 GB, free: 124 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.6051, allocations: 0 / 0.5597 GB, free: 124 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.384e-05/0.6051, allocations: 26.88 kB / 0.5597 GB, free: 104 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.6054, allocations: 31.16 kB / 0.5598 GB, free: 80 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.6058, allocations: 164 kB / 0.5599 GB, free: 15.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.6061, allocations: 0.708 MB / 0.5606 GB, free: 15.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.486e-05/0.6062, allocations: 28.83 kB / 0.5606 GB, free: 15.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.114e-05/0.6062, allocations: 22.81 kB / 0.5607 GB, free: 15.13 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.6062, allocations: 0 / 0.5607 GB, free: 15.13 MB / 378.7 MB Notification: Performance of Templates: time 0.00414/0.6104, allocations: 1.631 MB / 0.5623 GB, free: 13.52 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