Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008789/0.0008789, allocations: 95.34 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009368/0.0009369, allocations: 177.8 kB / 16.57 MB, free: 6.379 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.374/1.374, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3462/0.3462, allocations: 43.55 MB / 314.5 MB, free: 8.75 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.0004906/0.0004909, allocations: 16 kB / 383.9 MB, free: 8.039 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.102, allocations: 58.85 MB / 442.8 MB, free: 13.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.001805/0.1039, allocations: 1.462 MB / 444.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.1051, allocations: 0.8084 MB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.471e-05/0.1052, allocations: 3.938 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004459/0.1056, allocations: 287.4 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000306/0.106, allocations: 191.6 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.1063, allocations: 131.7 kB / 445.6 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002494/0.1066, allocations: 159.6 kB / 445.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.683e-05/0.1066, allocations: 13.55 kB / 445.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.1068, allocations: 111.6 kB / 445.9 MB, free: 9.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.107, allocations: 147.6 kB / 446 MB, free: 9.766 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.107, allocations: 4 kB / 446.1 MB, free: 9.762 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.97e-05/0.1071, allocations: 27.98 kB / 446.1 MB, free: 9.734 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.1072, allocations: 135.6 kB / 446.2 MB, free: 9.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.484e-05/0.1073, allocations: 77.45 kB / 446.3 MB, free: 9.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.1076, allocations: 279.8 kB / 446.6 MB, free: 9.246 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.1076, allocations: 0 / 446.6 MB, free: 9.246 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1076, allocations: 0 / 446.6 MB, free: 9.246 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.1076, allocations: 0 / 446.6 MB, free: 9.246 MB / 382.1 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.000852/0.1084, allocations: 0.6765 MB / 447.2 MB, free: 8.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1085, allocations: 16.02 kB / 447.3 MB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.02e-05/0.1086, allocations: 51.34 kB / 447.3 MB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005572/0.1091, allocations: 423.1 kB / 447.7 MB, free: 8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.1092, allocations: 11.94 kB / 447.7 MB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.1092, allocations: 4 kB / 447.7 MB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.1094, allocations: 83.36 kB / 447.8 MB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.1094, allocations: 0 / 447.8 MB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1094, allocations: 0 / 447.8 MB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1094, allocations: 3.953 kB / 447.8 MB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.1095, allocations: 35.91 kB / 447.9 MB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.1099, allocations: 386.3 kB / 448.2 MB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.1101, allocations: 105.3 kB / 448.3 MB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.1102, allocations: 0 / 448.3 MB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002209/0.1104, allocations: 109.1 kB / 448.4 MB, free: 7.176 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.1104, allocations: 0 / 448.4 MB, free: 7.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004285/0.1108, allocations: 189 kB / 448.6 MB, free: 6.984 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.1109, allocations: 89.05 kB / 448.7 MB, free: 6.879 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009774/0.1119, allocations: 1.034 MB / 449.7 MB, free: 5.832 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.1119, allocations: 29.7 kB / 449.8 MB, free: 5.797 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.112, allocations: 240.1 kB / 450 MB, free: 5.559 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.1121, allocations: 27.59 kB / 450 MB, free: 5.531 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.1121, allocations: 0 / 450 MB, free: 5.531 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1122, allocations: 370.8 kB / 450.4 MB, free: 5.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.657e-05/0.1123, allocations: 27.97 kB / 450.4 MB, free: 5.133 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.123e-05/0.1124, allocations: 55.42 kB / 450.5 MB, free: 5.066 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.26e-05/0.1125, allocations: 35.98 kB / 450.5 MB, free: 5.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1125, allocations: 0 / 450.5 MB, free: 5.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000267/0.1128, allocations: 165 kB / 450.7 MB, free: 4.863 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.1128, allocations: 4 kB / 450.7 MB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1128, allocations: 0 / 450.7 MB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1128, allocations: 4 kB / 450.7 MB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.1129, allocations: 24.55 kB / 450.7 MB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.113, allocations: 8.016 kB / 450.7 MB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.406e-05/0.1131, allocations: 19.92 kB / 450.7 MB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1131, allocations: 4 kB / 450.7 MB, free: 4.801 MB / 382.1 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.0001873/0.1133, allocations: 225.6 kB / 451 MB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.686e-05/0.1133, allocations: 51.33 kB / 451 MB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.234e-05/0.1134, allocations: 64 kB / 451.1 MB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1134, allocations: 0 / 451.1 MB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1134, allocations: 7.938 kB / 451.1 MB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1134, allocations: 7.953 kB / 451.1 MB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.1137, allocations: 333.5 kB / 451.4 MB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1137, allocations: 7.984 kB / 451.4 MB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.302e-05/0.1138, allocations: 4 kB / 451.4 MB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.1138, allocations: 4 kB / 451.4 MB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.1138, allocations: 0 / 451.4 MB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.1138, allocations: 0 / 451.4 MB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1138, allocations: 4 kB / 451.4 MB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.1141, allocations: 222.8 kB / 451.6 MB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.1143, allocations: 136.5 kB / 451.8 MB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.239e-05/0.1143, allocations: 4 kB / 451.8 MB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.323e-05/0.1144, allocations: 7.984 kB / 451.8 MB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.1144, allocations: 11.94 kB / 451.8 MB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.1145, allocations: 8 kB / 451.8 MB, free: 3.617 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007364/0.1152, allocations: 0.7721 MB / 452.6 MB, free: 2.848 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1152, allocations: 0 / 452.6 MB, free: 2.848 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.1155, allocations: 43.91 kB / 452.6 MB, free: 2.805 MB / 382.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.0009742/0.1165, allocations: 434 kB / 453 MB, free: 2.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002544/0.1167, allocations: 79.89 kB / 453.1 MB, free: 2.332 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1167, allocations: 0 / 453.1 MB, free: 2.332 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.1169, allocations: 40.05 kB / 453.2 MB, free: 2.293 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.1172, allocations: 62.27 kB / 453.2 MB, free: 2.234 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.1184, allocations: 0.901 MB / 454.1 MB, free: 1.305 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.1188, allocations: 0.8546 MB / 455 MB, free: 436 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001238/0.1189, allocations: 58.94 kB / 455 MB, free: 372 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.105e-05/0.119, allocations: 23.44 kB / 455.1 MB, free: 348 kB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.119, allocations: 4 kB / 455.1 MB, free: 344 kB / 382.1 MB Notification: Performance of Templates: time 0.1798/0.2988, allocations: 3.371 MB / 458.4 MB, free: 46.48 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches