Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 109.1 kB / 17.04 MB, free: 5.359 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.001154/0.001154, allocations: 193.4 kB / 17.98 MB, free: 4.898 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.605/1.605, allocations: 205.1 MB / 223.9 MB, free: 12.26 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.2363/0.2363, allocations: 43.52 MB / 314.7 MB, free: 488 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.001447/0.001447, allocations: 68.38 kB / 384.2 MB, free: 56.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1044, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.00298/0.1074, allocations: 1.655 MB / 443.6 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.1085, allocations: 0.7789 MB / 444.4 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.239e-05/0.1086, allocations: 7.938 kB / 444.4 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003287/0.1089, allocations: 51.75 kB / 444.5 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.1092, allocations: 59.75 kB / 444.5 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.1094, allocations: 83.77 kB / 444.6 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.1096, allocations: 91.69 kB / 444.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.361e-05/0.1096, allocations: 11.98 kB / 444.7 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.398e-05/0.1097, allocations: 39.78 kB / 444.8 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.793e-05/0.1098, allocations: 23.86 kB / 444.8 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.1098, allocations: 4 kB / 444.8 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.302e-05/0.1099, allocations: 35.92 kB / 444.8 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.882e-05/0.11, allocations: 23.91 kB / 444.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.303e-05/0.11, allocations: 35.69 kB / 444.9 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.1102, allocations: 119.6 kB / 445 MB, free: 3.121 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1102, allocations: 4 kB / 445 MB, free: 3.117 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1102, allocations: 0 / 445 MB, free: 3.117 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1103, allocations: 0 / 445 MB, free: 3.117 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005003/0.1108, allocations: 434.7 kB / 445.4 MB, free: 2.645 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.1108, allocations: 15.88 kB / 445.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.1109, allocations: 8.844 kB / 445.4 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.1111, allocations: 215.7 kB / 445.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.1111, allocations: 8.359 kB / 445.7 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.1112, allocations: 12.12 kB / 445.7 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.1113, allocations: 41.69 kB / 445.7 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1113, allocations: 0 / 445.7 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1113, allocations: 3.984 kB / 445.7 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1113, allocations: 0 / 445.7 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.083e-05/0.1114, allocations: 12 kB / 445.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001513/0.1116, allocations: 197.7 kB / 445.9 MB, free: 2.047 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.1117, allocations: 54.56 kB / 446 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.061e-05/0.1118, allocations: 24.78 kB / 446 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.1118, allocations: 0 / 446 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001345/0.112, allocations: 67.3 kB / 446.1 MB, free: 1.879 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 2.064e-06/0.112, allocations: 4 kB / 446.1 MB, free: 1.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002548/0.1122, allocations: 97.45 kB / 446.2 MB, free: 1.773 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.1123, allocations: 63.39 kB / 446.2 MB, free: 1.699 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.1125, allocations: 250.6 kB / 446.5 MB, free: 1.438 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.1125, allocations: 29.7 kB / 446.5 MB, free: 1.402 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.76e-05/0.1125, allocations: 108.1 kB / 446.6 MB, free: 1.293 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.1126, allocations: 23.73 kB / 446.6 MB, free: 1.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.1126, allocations: 17.72 kB / 446.7 MB, free: 1.246 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.404e-05/0.1127, allocations: 326.8 kB / 447 MB, free: 0.918 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.828e-05/0.1127, allocations: 15.98 kB / 447 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.608e-05/0.1128, allocations: 33.66 kB / 447 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.339e-05/0.1129, allocations: 41.89 kB / 447.1 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1129, allocations: 0 / 447.1 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001281/0.113, allocations: 97.42 kB / 447.2 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.113, allocations: 8 kB / 447.2 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.113, allocations: 0 / 447.2 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1131, allocations: 4.031 kB / 447.2 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.273e-05/0.1131, allocations: 11.94 kB / 447.2 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1131, allocations: 0 / 447.2 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.278e-05/0.1132, allocations: 4 kB / 447.2 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1132, allocations: 4 kB / 447.2 MB, free: 0.6836 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 (7): * Single equations (assignments): 7 * 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 7.51e-05/0.1133, allocations: 137.7 kB / 447.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.987e-05/0.1133, allocations: 19.8 kB / 447.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.674e-05/0.1134, allocations: 17 kB / 447.4 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1134, allocations: 0 / 447.4 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.1134, allocations: 4 kB / 447.4 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.1134, allocations: 3.984 kB / 447.4 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.1135, allocations: 193.6 kB / 447.6 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1135, allocations: 0 / 447.6 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.771e-05/0.1135, allocations: 4 kB / 447.6 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.1135, allocations: 0 / 447.6 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.1135, allocations: 7.984 kB / 447.6 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1136, allocations: 4 kB / 447.6 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1136, allocations: 3.938 kB / 447.6 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.1137, allocations: 112.9 kB / 447.7 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.101e-05/0.1137, allocations: 85.02 kB / 447.8 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.1138, allocations: 0 / 447.8 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.004e-05/0.1139, allocations: 11.98 kB / 447.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.1139, allocations: 3.938 kB / 447.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.1139, allocations: 4 kB / 447.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001618/0.1141, allocations: 192.5 kB / 448 MB, free: 15.8 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1141, allocations: 0 / 448 MB, free: 15.8 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002107/0.1143, allocations: 20 kB / 448 MB, free: 15.78 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001003/0.1153, allocations: 416.5 kB / 448.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001623/0.1155, allocations: 47.91 kB / 448.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1155, allocations: 0 / 448.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.137e-05/0.1156, allocations: 16 kB / 448.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.1159, allocations: 39.12 kB / 448.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004747/0.1164, allocations: 262.7 kB / 448.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.1166, allocations: 0.7158 MB / 449.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.743e-05/0.1167, allocations: 16.8 kB / 449.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.1167, allocations: 11.44 kB / 449.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1167, allocations: 0 / 449.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of Templates: time 0.004936/0.1217, allocations: 1.493 MB / 451 MB, free: 12.82 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches