Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001168, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 221.3 MB / 236 MB, free: 2.961 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008482/0.0008483, allocations: 80.06 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1731/0.1731, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.648e-05/2.65e-05, allocations: 4.219 kB / 451.8 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1173, allocations: 61.91 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3401/0.4574, allocations: 89.22 MB / 0.5888 GB, free: 76 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001879/0.4576, allocations: 67.97 kB / 0.5889 GB, free: 8 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01451/0.4721, allocations: 5.587 MB / 0.5944 GB, free: 10.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4722, allocations: 0 / 0.5944 GB, free: 10.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.4722, allocations: 0 / 0.5944 GB, free: 10.43 MB / 410.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.0004212/0.4726, allocations: 396.5 kB / 0.5947 GB, free: 10 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.4727, allocations: 8.031 kB / 0.5947 GB, free: 9.992 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.18e-05/0.4727, allocations: 11.84 kB / 0.5948 GB, free: 9.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.4731, allocations: 210.8 kB / 0.595 GB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.4731, allocations: 7.953 kB / 0.595 GB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.4731, allocations: 8 kB / 0.595 GB, free: 9.719 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.4733, allocations: 57.67 kB / 0.595 GB, free: 9.656 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.4733, allocations: 0 / 0.595 GB, free: 9.656 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.4733, allocations: 0 / 0.595 GB, free: 9.656 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.4733, allocations: 3.938 kB / 0.595 GB, free: 9.652 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.682e-05/0.4734, allocations: 23.92 kB / 0.5951 GB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004053/0.4738, allocations: 284.9 kB / 0.5953 GB, free: 9.301 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.4739, allocations: 58.69 kB / 0.5954 GB, free: 9.234 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.762e-05/0.474, allocations: 20.92 kB / 0.5954 GB, free: 9.211 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.474, allocations: 0 / 0.5954 GB, free: 9.211 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001151/0.4741, allocations: 67.39 kB / 0.5955 GB, free: 9.133 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.645e-06/0.4741, allocations: 3.984 kB / 0.5955 GB, free: 9.129 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004148/0.4745, allocations: 161.1 kB / 0.5956 GB, free: 8.965 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.4746, allocations: 59.41 kB / 0.5957 GB, free: 8.895 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.4748, allocations: 165.4 kB / 0.5958 GB, free: 8.727 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.4748, allocations: 25.7 kB / 0.5959 GB, free: 8.695 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.247e-05/0.4748, allocations: 100.1 kB / 0.596 GB, free: 8.594 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.4749, allocations: 19.72 kB / 0.596 GB, free: 8.574 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/0.4749, allocations: 4 kB / 0.596 GB, free: 8.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.774e-05/0.475, allocations: 326.8 kB / 0.5963 GB, free: 8.242 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.738e-05/0.475, allocations: 20 kB / 0.5963 GB, free: 8.223 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.278e-05/0.4751, allocations: 41.7 kB / 0.5964 GB, free: 8.176 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.057e-05/0.4751, allocations: 16 kB / 0.5964 GB, free: 8.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.4751, allocations: 3.938 kB / 0.5964 GB, free: 8.156 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001379/0.4753, allocations: 97.48 kB / 0.5965 GB, free: 8.055 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.4753, allocations: 8 kB / 0.5965 GB, free: 8.047 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.4753, allocations: 0 / 0.5965 GB, free: 8.047 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.4753, allocations: 0 / 0.5965 GB, free: 8.047 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.54e-05/0.4754, allocations: 23.92 kB / 0.5965 GB, free: 8.023 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.4754, allocations: 8.031 kB / 0.5965 GB, free: 8.016 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.363e-05/0.4755, allocations: 4.125 kB / 0.5965 GB, free: 8.012 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.4755, allocations: 8 kB / 0.5965 GB, free: 8.004 MB / 410.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 5.714e-05/0.4755, allocations: 112.9 kB / 0.5966 GB, free: 7.887 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.4756, allocations: 8.094 kB / 0.5966 GB, free: 7.879 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002094/0.4758, allocations: 118.2 kB / 0.5967 GB, free: 7.762 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.4758, allocations: 0 / 0.5967 GB, free: 7.762 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4758, allocations: 0 / 0.5967 GB, free: 7.762 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4758, allocations: 4 kB / 0.5967 GB, free: 7.758 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003846/0.4762, allocations: 415.2 kB / 0.5971 GB, free: 7.293 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4762, allocations: 0 / 0.5971 GB, free: 7.293 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.169e-05/0.4763, allocations: 15.98 kB / 0.5972 GB, free: 7.277 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4763, allocations: 3.938 kB / 0.5972 GB, free: 7.273 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.4763, allocations: 0 / 0.5972 GB, free: 7.273 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.4763, allocations: 4 kB / 0.5972 GB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4763, allocations: 0 / 0.5972 GB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.4765, allocations: 221.9 kB / 0.5974 GB, free: 7.027 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.317e-05/0.4765, allocations: 89 kB / 0.5975 GB, free: 6.922 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.4766, allocations: 8 kB / 0.5975 GB, free: 6.914 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.908e-05/0.4767, allocations: 0 / 0.5975 GB, free: 6.914 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.4767, allocations: 15.88 kB / 0.5975 GB, free: 6.898 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.4767, allocations: 8 kB / 0.5975 GB, free: 6.891 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001037/0.4768, allocations: 144.9 kB / 0.5976 GB, free: 6.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4768, allocations: 0 / 0.5976 GB, free: 6.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002317/0.4771, allocations: 28 kB / 0.5977 GB, free: 6.723 MB / 410.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.000847/0.4779, allocations: 439.5 kB / 0.5981 GB, free: 6.402 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.4781, allocations: 59.91 kB / 0.5981 GB, free: 6.344 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4781, allocations: 0 / 0.5981 GB, free: 6.344 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.617e-05/0.4781, allocations: 31.94 kB / 0.5982 GB, free: 6.312 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.4784, allocations: 27.83 kB / 0.5982 GB, free: 6.285 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.4787, allocations: 163 kB / 0.5983 GB, free: 6.094 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.4789, allocations: 0.7121 MB / 0.599 GB, free: 5.355 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.759e-05/0.479, allocations: 12.42 kB / 0.5991 GB, free: 5.344 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.549e-05/0.479, allocations: 19.42 kB / 0.5991 GB, free: 5.324 MB / 410.7 MB Notification: Performance of SimCode: time 2.1e-07/0.479, allocations: 0 / 0.5991 GB, free: 5.324 MB / 410.7 MB Notification: Performance of Templates: time 0.003655/0.4827, allocations: 1.689 MB / 0.6007 GB, free: 3.645 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches