Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 176.4 kB / 17.06 MB, free: 5.098 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.319/1.319, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008633/0.0008634, allocations: 87.7 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3705/0.3705, allocations: 44.22 MB / 387.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003573, allocations: 12 kB / 459.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4298, allocations: 61.89 MB / 0.5096 GB, free: 37.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1287/0.5586, allocations: 89.14 MB / 0.5966 GB, free: 5.992 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.5589, allocations: 79.88 kB / 0.5967 GB, free: 5.918 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01718/0.5761, allocations: 6.721 MB / 0.6033 GB, free: 15.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5761, allocations: 0 / 0.6033 GB, free: 15.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.893e-05/0.5762, allocations: 12 kB / 0.6033 GB, free: 15.19 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001023/0.5772, allocations: 0.7191 MB / 0.604 GB, free: 14.42 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.5773, allocations: 8.562 kB / 0.604 GB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.99e-05/0.5774, allocations: 51.42 kB / 0.604 GB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007765/0.5781, allocations: 479.1 kB / 0.6045 GB, free: 13.85 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.5782, allocations: 7.953 kB / 0.6045 GB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.5782, allocations: 7.984 kB / 0.6045 GB, free: 13.83 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.5784, allocations: 83.38 kB / 0.6046 GB, free: 13.74 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.5784, allocations: 3.938 kB / 0.6046 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.5785, allocations: 3.984 kB / 0.6046 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.5785, allocations: 0 / 0.6046 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.5786, allocations: 31.98 kB / 0.6046 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004167/0.579, allocations: 382.4 kB / 0.605 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.5793, allocations: 113.2 kB / 0.6051 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.5793, allocations: 4 kB / 0.6051 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.5795, allocations: 121 kB / 0.6052 GB, free: 13 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.5796, allocations: 0 / 0.6052 GB, free: 13 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004905/0.5801, allocations: 200.9 kB / 0.6054 GB, free: 12.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.5801, allocations: 81.11 kB / 0.6055 GB, free: 12.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.5814, allocations: 0.9433 MB / 0.6064 GB, free: 11.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.5815, allocations: 25.7 kB / 0.6064 GB, free: 11.72 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.5816, allocations: 236.1 kB / 0.6066 GB, free: 11.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.33e-05/0.5817, allocations: 23.7 kB / 0.6067 GB, free: 11.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-06/0.5817, allocations: 4 kB / 0.6067 GB, free: 11.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.5819, allocations: 370.8 kB / 0.607 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.627e-05/0.582, allocations: 27.98 kB / 0.6071 GB, free: 11.06 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.168e-05/0.5821, allocations: 60.62 kB / 0.6071 GB, free: 10.99 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.135e-05/0.5822, allocations: 35.98 kB / 0.6071 GB, free: 10.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.5822, allocations: 3.938 kB / 0.6072 GB, free: 10.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002936/0.5825, allocations: 181.4 kB / 0.6073 GB, free: 10.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.5825, allocations: 8 kB / 0.6073 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.5825, allocations: 3.984 kB / 0.6073 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.5825, allocations: 0 / 0.6073 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.5827, allocations: 20 kB / 0.6074 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.5827, allocations: 3.984 kB / 0.6074 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.5828, allocations: 23.84 kB / 0.6074 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.5828, allocations: 4 kB / 0.6074 GB, free: 10.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002212/0.583, allocations: 221.8 kB / 0.6076 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.983e-05/0.5831, allocations: 55.3 kB / 0.6076 GB, free: 10.42 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003803/0.5835, allocations: 201.6 kB / 0.6078 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.5835, allocations: 0 / 0.6078 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.5835, allocations: 4 kB / 0.6078 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.5836, allocations: 0 / 0.6078 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003806/0.5839, allocations: 389.3 kB / 0.6082 GB, free: 9.785 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.584, allocations: 0 / 0.6082 GB, free: 9.785 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.468e-05/0.584, allocations: 11.98 kB / 0.6082 GB, free: 9.773 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.584, allocations: 0 / 0.6082 GB, free: 9.773 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.584, allocations: 11.94 kB / 0.6082 GB, free: 9.762 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.584, allocations: 0 / 0.6082 GB, free: 9.762 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.5841, allocations: 3.938 kB / 0.6082 GB, free: 9.758 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003606/0.5844, allocations: 238.9 kB / 0.6085 GB, free: 9.496 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000348/0.5848, allocations: 196.3 kB / 0.6087 GB, free: 9.285 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.918e-05/0.5848, allocations: 11.94 kB / 0.6087 GB, free: 9.273 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.369e-05/0.5849, allocations: 12.17 kB / 0.6087 GB, free: 9.262 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.585, allocations: 4 kB / 0.6087 GB, free: 9.258 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.585, allocations: 15.98 kB / 0.6087 GB, free: 9.242 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008412/0.5859, allocations: 0.7448 MB / 0.6094 GB, free: 8.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5859, allocations: 4 kB / 0.6094 GB, free: 8.496 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003284/0.5862, allocations: 84 kB / 0.6095 GB, free: 8.414 MB / 426.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001038/0.5873, allocations: 419.9 kB / 0.6099 GB, free: 8.156 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000258/0.5875, allocations: 87.84 kB / 0.61 GB, free: 8.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.5875, allocations: 0 / 0.61 GB, free: 8.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.5877, allocations: 47.91 kB / 0.61 GB, free: 8.023 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.5881, allocations: 70.83 kB / 0.6101 GB, free: 7.953 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.5896, allocations: 0.9869 MB / 0.6111 GB, free: 6.934 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/0.59, allocations: 0.8624 MB / 0.6119 GB, free: 6.043 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000174/0.5902, allocations: 90.94 kB / 0.612 GB, free: 5.953 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.5903, allocations: 43.44 kB / 0.612 GB, free: 5.91 MB / 426.7 MB Notification: Performance of SimCode: time 6.91e-07/0.5903, allocations: 0 / 0.612 GB, free: 5.91 MB / 426.7 MB Notification: Performance of Templates: time 0.009267/0.5996, allocations: 4.585 MB / 0.6165 GB, free: 1.352 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches