Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009298/0.0009298, allocations: 180 kB / 14.15 MB, free: 1.172 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.264/1.264, allocations: 221.4 MB / 236 MB, free: 2.91 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.0008172/0.0008173, allocations: 87.69 kB / 287 MB, free: 208 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.1747/0.1747, allocations: 44.16 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.749e-05/2.751e-05, allocations: 4 kB / 451.8 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1127, allocations: 61.91 MB / 0.5017 GB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3339/0.4466, allocations: 89.46 MB / 0.5891 GB, free: 15.91 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/0.4469, allocations: 75.95 kB / 0.5891 GB, free: 15.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01637/0.4633, allocations: 6.216 MB / 0.5952 GB, free: 9.625 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4633, allocations: 0 / 0.5952 GB, free: 9.625 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.4633, allocations: 4 kB / 0.5952 GB, free: 9.621 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004417/0.4638, allocations: 398.2 kB / 0.5956 GB, free: 9.188 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.4638, allocations: 8.031 kB / 0.5956 GB, free: 9.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.809e-05/0.4639, allocations: 7.906 kB / 0.5956 GB, free: 9.172 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.4642, allocations: 214.8 kB / 0.5958 GB, free: 8.922 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.4642, allocations: 3.953 kB / 0.5958 GB, free: 8.918 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.4642, allocations: 11.98 kB / 0.5958 GB, free: 8.906 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.4644, allocations: 79.33 kB / 0.5959 GB, free: 8.816 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.4644, allocations: 7.922 kB / 0.5959 GB, free: 8.809 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.4644, allocations: 0 / 0.5959 GB, free: 8.809 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.4645, allocations: 0 / 0.5959 GB, free: 8.809 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.229e-05/0.4645, allocations: 31.98 kB / 0.5959 GB, free: 8.777 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004057/0.465, allocations: 308.7 kB / 0.5962 GB, free: 8.426 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.4651, allocations: 74.62 kB / 0.5963 GB, free: 8.344 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.866e-05/0.4652, allocations: 24.98 kB / 0.5963 GB, free: 8.316 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.4652, allocations: 0 / 0.5963 GB, free: 8.316 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.4654, allocations: 71.38 kB / 0.5964 GB, free: 8.234 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.4654, allocations: 0 / 0.5964 GB, free: 8.234 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004665/0.4658, allocations: 177.2 kB / 0.5966 GB, free: 8.055 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/0.4659, allocations: 85.05 kB / 0.5967 GB, free: 7.953 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.4661, allocations: 150.1 kB / 0.5968 GB, free: 7.793 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.4661, allocations: 29.7 kB / 0.5968 GB, free: 7.758 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.029e-05/0.4661, allocations: 100 kB / 0.5969 GB, free: 7.656 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.4662, allocations: 27.77 kB / 0.5969 GB, free: 7.629 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.4662, allocations: 0 / 0.5969 GB, free: 7.629 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.4663, allocations: 326.8 kB / 0.5973 GB, free: 7.301 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.232e-05/0.4664, allocations: 20 kB / 0.5973 GB, free: 7.281 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.28e-05/0.4664, allocations: 58.5 kB / 0.5973 GB, free: 7.215 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.178e-05/0.4665, allocations: 27.98 kB / 0.5974 GB, free: 7.188 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.4665, allocations: 0 / 0.5974 GB, free: 7.188 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001592/0.4667, allocations: 109.5 kB / 0.5975 GB, free: 7.074 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.4667, allocations: 9.094 kB / 0.5975 GB, free: 7.066 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.4667, allocations: 192 / 0.5975 GB, free: 7.066 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.4667, allocations: 0 / 0.5975 GB, free: 7.066 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.89e-05/0.4668, allocations: 23.88 kB / 0.5975 GB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.4668, allocations: 64 / 0.5975 GB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.623e-05/0.4669, allocations: 15.98 kB / 0.5975 GB, free: 7.027 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.4669, allocations: 4 kB / 0.5975 GB, free: 7.023 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 (11): * Single equations (assignments): 11 * 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.786e-05/0.467, allocations: 112.9 kB / 0.5976 GB, free: 6.906 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.467, allocations: 15.81 kB / 0.5976 GB, free: 6.891 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.4673, allocations: 130.2 kB / 0.5978 GB, free: 6.762 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.4673, allocations: 4 kB / 0.5978 GB, free: 6.758 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4673, allocations: 7.938 kB / 0.5978 GB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4673, allocations: 4 kB / 0.5978 GB, free: 6.746 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004212/0.4677, allocations: 427.3 kB / 0.5982 GB, free: 6.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4678, allocations: 0 / 0.5982 GB, free: 6.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.126e-05/0.4678, allocations: 19.92 kB / 0.5982 GB, free: 6.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.4678, allocations: 4 kB / 0.5982 GB, free: 6.246 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.4678, allocations: 0 / 0.5982 GB, free: 6.246 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.4678, allocations: 0 / 0.5982 GB, free: 6.246 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4679, allocations: 4 kB / 0.5982 GB, free: 6.242 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/0.4681, allocations: 236.8 kB / 0.5984 GB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.433e-05/0.4682, allocations: 92.92 kB / 0.5985 GB, free: 5.879 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.4682, allocations: 7.984 kB / 0.5985 GB, free: 5.871 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.443e-05/0.4683, allocations: 0 / 0.5985 GB, free: 5.871 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/0.4684, allocations: 19.94 kB / 0.5986 GB, free: 5.852 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.4684, allocations: 0 / 0.5986 GB, free: 5.852 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001043/0.4685, allocations: 134.8 kB / 0.5987 GB, free: 5.723 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4685, allocations: 3.938 kB / 0.5987 GB, free: 5.719 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002886/0.4688, allocations: 47.92 kB / 0.5987 GB, free: 5.672 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 (11): * Single equations (assignments): 9 * 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.001161/0.47, allocations: 463 kB / 0.5992 GB, free: 5.332 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001857/0.4702, allocations: 71.86 kB / 0.5992 GB, free: 5.262 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4702, allocations: 4 kB / 0.5992 GB, free: 5.258 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.879e-05/0.4703, allocations: 39.94 kB / 0.5993 GB, free: 5.219 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.4706, allocations: 28.47 kB / 0.5993 GB, free: 5.191 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004773/0.4711, allocations: 147.8 kB / 0.5994 GB, free: 5.016 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.4713, allocations: 0.7082 MB / 0.6001 GB, free: 4.281 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.919e-05/0.4714, allocations: 24.8 kB / 0.6002 GB, free: 4.258 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.609e-05/0.4715, allocations: 23.42 kB / 0.6002 GB, free: 4.234 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4715, allocations: 0 / 0.6002 GB, free: 4.234 MB / 410.7 MB Notification: Performance of Templates: time 0.004528/0.476, allocations: 2.017 MB / 0.6022 GB, free: 2.234 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches