Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 109.3 kB / 17.03 MB, free: 6.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 194.9 kB / 17.96 MB, free: 5.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 205.1 MB / 223.8 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.234/0.234, allocations: 43.52 MB / 314.7 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 69 kB / 384.2 MB, free: 56.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08753/0.08903, allocations: 57.81 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002824/0.0919, allocations: 1.689 MB / 443.7 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.09307, allocations: 0.7961 MB / 444.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.09319, allocations: 0 / 444.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002839/0.09351, allocations: 47.75 kB / 444.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.09372, allocations: 51.77 kB / 444.6 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.09396, allocations: 95.19 kB / 444.6 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.0941, allocations: 91.7 kB / 444.7 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.682e-05/0.09421, allocations: 16.2 kB / 444.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.14e-05/0.09429, allocations: 43.8 kB / 444.8 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.055e-05/0.09435, allocations: 27.84 kB / 444.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.09437, allocations: 4 kB / 444.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.697e-05/0.09447, allocations: 43.98 kB / 444.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.671e-05/0.09452, allocations: 19.92 kB / 444.9 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.501e-05/0.09457, allocations: 43.66 kB / 444.9 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.09474, allocations: 107.6 kB / 445 MB, free: 3.059 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.09475, allocations: 0 / 445 MB, free: 3.059 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.09476, allocations: 0 / 445 MB, free: 3.059 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.09477, allocations: 4 kB / 445 MB, free: 3.055 MB / 318.1 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.0004174/0.09519, allocations: 414.9 kB / 445.4 MB, free: 2.602 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.09523, allocations: 11.89 kB / 445.5 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.09528, allocations: 8.844 kB / 445.5 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.09551, allocations: 205.2 kB / 445.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.09554, allocations: 384 / 445.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.09557, allocations: 12.12 kB / 445.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.09571, allocations: 57.55 kB / 445.7 MB, free: 2.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.09573, allocations: 0 / 445.7 MB, free: 2.27 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.09575, allocations: 4 kB / 445.7 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.09576, allocations: 11.98 kB / 445.8 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.878e-05/0.09584, allocations: 12 kB / 445.8 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003012/0.09614, allocations: 292.8 kB / 446.1 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.09631, allocations: 54.62 kB / 446.1 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.714e-05/0.09636, allocations: 28.84 kB / 446.1 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.09639, allocations: 7.938 kB / 446.1 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001224/0.09652, allocations: 59.39 kB / 446.2 MB, free: 1.734 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.09653, allocations: 0 / 446.2 MB, free: 1.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004697/0.097, allocations: 177.1 kB / 446.4 MB, free: 1.555 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.09704, allocations: 55.41 kB / 446.4 MB, free: 1.488 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.09717, allocations: 186.1 kB / 446.6 MB, free: 1.297 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.09719, allocations: 33.69 kB / 446.6 MB, free: 1.258 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.552e-05/0.09723, allocations: 96.14 kB / 446.7 MB, free: 1.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.09726, allocations: 23.7 kB / 446.8 MB, free: 1.137 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.0973, allocations: 25.72 kB / 446.8 MB, free: 1.105 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.106e-05/0.09735, allocations: 326.8 kB / 447.1 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.046e-05/0.09741, allocations: 19.98 kB / 447.1 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.218e-05/0.09747, allocations: 37.64 kB / 447.2 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.858e-05/0.09756, allocations: 57.72 kB / 447.2 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.09757, allocations: 4 kB / 447.2 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001479/0.09772, allocations: 109.6 kB / 447.3 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.09775, allocations: 4 kB / 447.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.09776, allocations: 4 kB / 447.3 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.09778, allocations: 0 / 447.3 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.061e-05/0.09786, allocations: 16.36 kB / 447.3 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.09787, allocations: 0 / 447.3 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.383e-05/0.09792, allocations: 11.97 kB / 447.4 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.09793, allocations: 8 kB / 447.4 MB, free: 0.4922 MB / 318.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.021e-05/0.098, allocations: 133.7 kB / 447.5 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.879e-05/0.09803, allocations: 11.81 kB / 447.5 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.726e-05/0.09807, allocations: 12.72 kB / 447.5 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.09808, allocations: 4 kB / 447.5 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.09808, allocations: 0 / 447.5 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.09809, allocations: 8.109 kB / 447.5 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004021/0.0985, allocations: 395.3 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.09852, allocations: 3.938 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.119e-05/0.09856, allocations: 8 kB / 447.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.09857, allocations: 4 kB / 447.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.09858, allocations: 3.938 kB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.09859, allocations: 0 / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.0986, allocations: 7.938 kB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.09882, allocations: 204.2 kB / 448.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.133e-05/0.09888, allocations: 89 kB / 448.2 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.09891, allocations: 7.938 kB / 448.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.679e-05/0.09898, allocations: 0 / 448.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.09902, allocations: 11.98 kB / 448.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.09904, allocations: 4 kB / 448.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.09916, allocations: 135.2 kB / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09916, allocations: 4 kB / 448.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.09942, allocations: 27.89 kB / 448.4 MB, free: 15.32 MB / 334.1 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009786/0.1004, allocations: 459.9 kB / 448.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001813/0.1006, allocations: 67.91 kB / 448.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1006, allocations: 0 / 448.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.984e-05/0.1007, allocations: 31.88 kB / 449 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.101, allocations: 24.28 kB / 449 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004164/0.1015, allocations: 215.3 kB / 449.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.1017, allocations: 0.7081 MB / 449.9 MB, free: 13.85 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.82e-05/0.1018, allocations: 24.8 kB / 449.9 MB, free: 13.83 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.401e-05/0.1018, allocations: 15.44 kB / 449.9 MB, free: 13.81 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1018, allocations: 0 / 449.9 MB, free: 13.81 MB / 334.1 MB Notification: Performance of Templates: time 0.004051/0.1059, allocations: 1.697 MB / 451.6 MB, free: 12.13 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches