Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,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.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,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.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 97.91 kB / 16.93 MB, free: 5.805 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.001122/0.001122, allocations: 187.3 kB / 17.86 MB, free: 5.18 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.449/1.449, allocations: 205.1 MB / 223.7 MB, free: 12.31 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.2006/0.2006, allocations: 43.52 MB / 314.6 MB, free: 0.5508 MB / 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.001685/0.001685, allocations: 74.25 kB / 383.4 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09491/0.09661, allocations: 57.78 MB / 441.2 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002691/0.09935, allocations: 1.695 MB / 442.9 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.1004, allocations: 0.8 MB / 443.7 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.665e-05/0.1004, allocations: 0 / 443.7 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002835/0.1008, allocations: 59.75 kB / 443.8 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001751/0.101, allocations: 51.77 kB / 443.8 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.1012, allocations: 83.7 kB / 443.9 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.1013, allocations: 99.69 kB / 444 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.769e-05/0.1014, allocations: 8.516 kB / 444 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.39e-05/0.1015, allocations: 43.78 kB / 444 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.943e-05/0.1015, allocations: 31.84 kB / 444.1 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.1016, allocations: 4 kB / 444.1 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.997e-05/0.1016, allocations: 39.98 kB / 444.1 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.66e-05/0.1017, allocations: 19.92 kB / 444.1 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.329e-05/0.1017, allocations: 39.75 kB / 444.2 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.1019, allocations: 115.6 kB / 444.3 MB, free: 3.816 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1019, allocations: 0 / 444.3 MB, free: 3.816 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1019, allocations: 4 kB / 444.3 MB, free: 3.812 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1019, allocations: 4 kB / 444.3 MB, free: 3.809 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.0003983/0.1023, allocations: 430.8 kB / 444.7 MB, free: 3.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.1024, allocations: 11.89 kB / 444.7 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/0.1024, allocations: 8.844 kB / 444.7 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.1026, allocations: 219.9 kB / 444.9 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.1026, allocations: 4.375 kB / 444.9 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.1026, allocations: 4.125 kB / 444.9 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.1028, allocations: 57.67 kB / 445 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1028, allocations: 4 kB / 445 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.1028, allocations: 3.984 kB / 445 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1028, allocations: 0 / 445 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.767e-05/0.1029, allocations: 23.92 kB / 445 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002807/0.1032, allocations: 280.9 kB / 445.3 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.1033, allocations: 58.69 kB / 445.4 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.682e-05/0.1034, allocations: 20.84 kB / 445.4 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.1034, allocations: 11.88 kB / 445.4 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001405/0.1036, allocations: 67.38 kB / 445.5 MB, free: 2.461 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1036, allocations: 0 / 445.5 MB, free: 2.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004988/0.1041, allocations: 181.1 kB / 445.6 MB, free: 2.277 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.062e-05/0.1041, allocations: 55.41 kB / 445.7 MB, free: 2.211 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.1043, allocations: 226.6 kB / 445.9 MB, free: 1.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.1043, allocations: 25.7 kB / 445.9 MB, free: 1.949 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.667e-05/0.1043, allocations: 108.1 kB / 446 MB, free: 1.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.1043, allocations: 23.66 kB / 446.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.1044, allocations: 29.7 kB / 446.1 MB, free: 1.781 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.603e-05/0.1044, allocations: 326.8 kB / 446.4 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.231e-05/0.1045, allocations: 19.98 kB / 446.4 MB, free: 1.434 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.263e-05/0.1046, allocations: 41.7 kB / 446.5 MB, free: 1.387 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.331e-05/0.1047, allocations: 53.66 kB / 446.5 MB, free: 1.328 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1047, allocations: 0 / 446.5 MB, free: 1.328 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001539/0.1048, allocations: 113.4 kB / 446.6 MB, free: 1.211 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.1048, allocations: 5.25 kB / 446.6 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1049, allocations: 384 / 446.6 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1049, allocations: 8.031 kB / 446.7 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.029e-05/0.105, allocations: 12 kB / 446.7 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.105, allocations: 7.984 kB / 446.7 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.451e-05/0.105, allocations: 11.92 kB / 446.7 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.105, allocations: 0 / 446.7 MB, free: 1.168 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.91e-05/0.1051, allocations: 133.8 kB / 446.8 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.1051, allocations: 11.91 kB / 446.8 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.1052, allocations: 17.34 kB / 446.8 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1052, allocations: 4 kB / 446.9 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.1052, allocations: 4 kB / 446.9 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1052, allocations: 7.922 kB / 446.9 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003163/0.1055, allocations: 399.2 kB / 447.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1055, allocations: 0 / 447.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.068e-05/0.1056, allocations: 11.94 kB / 447.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.1056, allocations: 4 kB / 447.3 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.1056, allocations: 7.922 kB / 447.3 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1056, allocations: 0 / 447.3 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1056, allocations: 4.031 kB / 447.3 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.1058, allocations: 200.5 kB / 447.5 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.317e-05/0.1058, allocations: 84.92 kB / 447.6 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.1059, allocations: 11.88 kB / 447.6 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.916e-05/0.1059, allocations: 0 / 447.6 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.106, allocations: 15.92 kB / 447.6 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.106, allocations: 8 kB / 447.6 MB, free: 156 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001255/0.1061, allocations: 171.2 kB / 447.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1061, allocations: 0 / 447.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.1064, allocations: 24 kB / 447.8 MB, free: 15.96 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.00107/0.1075, allocations: 473.5 kB / 448.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.1077, allocations: 59.91 kB / 448.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1077, allocations: 0 / 448.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.926e-05/0.1078, allocations: 27.98 kB / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.1081, allocations: 23.98 kB / 448.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000535/0.1087, allocations: 288.8 kB / 448.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.109, allocations: 0.7119 MB / 449.3 MB, free: 14.42 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.627e-05/0.109, allocations: 15.44 kB / 449.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.109, allocations: 0 / 449.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of Templates: time 0.003752/0.1128, allocations: 1.976 MB / 451.3 MB, free: 12.44 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches