Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,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.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,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.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.001465, allocations: 106.8 kB / 16.94 MB, free: 6.184 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.001639/0.001638, allocations: 191.4 kB / 17.86 MB, free: 5.289 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.422/1.422, allocations: 205.1 MB / 223.7 MB, free: 12.29 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.2154/0.2154, allocations: 43.52 MB / 314.6 MB, free: 0.5312 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.001799/0.001799, allocations: 65.92 kB / 383.4 MB, free: 56.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1031, allocations: 57.8 MB / 441.2 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003047/0.1061, allocations: 1.698 MB / 442.9 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.1079, allocations: 1.402 MB / 444.3 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.108, allocations: 0 / 444.3 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002943/0.1083, allocations: 35.78 kB / 444.3 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002463/0.1086, allocations: 67.69 kB / 444.4 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.1089, allocations: 75.78 kB / 444.5 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.109, allocations: 103.7 kB / 444.6 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1092, allocations: 4.516 kB / 444.6 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.231e-05/0.1092, allocations: 39.8 kB / 444.6 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.1094, allocations: 47.83 kB / 444.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.1094, allocations: 4 kB / 444.7 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.1095, allocations: 67.91 kB / 444.7 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.489e-05/0.1096, allocations: 15.92 kB / 444.7 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.556e-05/0.1096, allocations: 31.8 kB / 444.8 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002021/0.1099, allocations: 119.7 kB / 444.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1099, allocations: 0 / 444.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1099, allocations: 0 / 444.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1099, allocations: 0 / 444.9 MB, free: 3.176 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.000462/0.1104, allocations: 411 kB / 445.3 MB, free: 2.727 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.1104, allocations: 11.89 kB / 445.3 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.983e-05/0.1104, allocations: 8.844 kB / 445.3 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.1106, allocations: 205.4 kB / 445.5 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.1107, allocations: 8.375 kB / 445.5 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.1107, allocations: 4.125 kB / 445.5 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.1108, allocations: 67.39 kB / 445.6 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1109, allocations: 7.906 kB / 445.6 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1109, allocations: 0 / 445.6 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.1109, allocations: 4 kB / 445.6 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.988e-05/0.111, allocations: 23.91 kB / 445.6 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002971/0.1113, allocations: 288.8 kB / 445.9 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.1114, allocations: 58.67 kB / 446 MB, free: 1.945 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.559e-05/0.1115, allocations: 20.8 kB / 446 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.1115, allocations: 0 / 446 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.1117, allocations: 79.31 kB / 446.1 MB, free: 1.832 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.994e-06/0.1117, allocations: 0 / 446.1 MB, free: 1.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004936/0.1122, allocations: 165.2 kB / 446.2 MB, free: 1.664 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.1123, allocations: 81.09 kB / 446.3 MB, free: 1.566 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.1124, allocations: 160.9 kB / 446.5 MB, free: 1.402 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.1124, allocations: 25.7 kB / 446.5 MB, free: 1.371 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.14e-05/0.1124, allocations: 100.1 kB / 446.6 MB, free: 1.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.1125, allocations: 23.66 kB / 446.6 MB, free: 1.246 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/0.1125, allocations: 29.7 kB / 446.6 MB, free: 1.211 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.812e-05/0.1126, allocations: 322.8 kB / 447 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.28e-05/0.1126, allocations: 19.98 kB / 447 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.486e-05/0.1127, allocations: 42.56 kB / 447 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.489e-05/0.1128, allocations: 65.67 kB / 447.1 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1128, allocations: 0 / 447.1 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001612/0.113, allocations: 89.59 kB / 447.2 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.113, allocations: 8 kB / 447.2 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.113, allocations: 0 / 447.2 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.113, allocations: 0 / 447.2 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.419e-05/0.1131, allocations: 27.92 kB / 447.2 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.1131, allocations: 0 / 447.2 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.597e-05/0.1132, allocations: 7.844 kB / 447.2 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.1132, allocations: 8.031 kB / 447.2 MB, free: 0.6016 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.349e-05/0.1132, allocations: 125.8 kB / 447.3 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.1133, allocations: 7.906 kB / 447.4 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.734e-05/0.1133, allocations: 12.72 kB / 447.4 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1133, allocations: 0 / 447.4 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.1133, allocations: 0 / 447.4 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1133, allocations: 7.922 kB / 447.4 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003553/0.1137, allocations: 391.8 kB / 447.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1137, allocations: 0 / 447.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.697e-05/0.1138, allocations: 12 kB / 447.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1138, allocations: 3.938 kB / 447.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.1138, allocations: 7.938 kB / 447.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1138, allocations: 0 / 447.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.1138, allocations: 4.172 kB / 447.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.1141, allocations: 204.2 kB / 448 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.1141, allocations: 88.95 kB / 448.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/0.1142, allocations: 7.938 kB / 448.1 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.162e-05/0.1142, allocations: 7.938 kB / 448.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.1143, allocations: 7.984 kB / 448.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.1143, allocations: 4 kB / 448.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001008/0.1144, allocations: 115.2 kB / 448.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1144, allocations: 0 / 448.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002806/0.1147, allocations: 32 kB / 448.2 MB, free: 15.47 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.00118/0.1159, allocations: 0.5013 MB / 448.7 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001993/0.1161, allocations: 67.91 kB / 448.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1161, allocations: 0 / 448.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.263e-05/0.1162, allocations: 20 kB / 448.8 MB, free: 14.97 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.1165, allocations: 35.91 kB / 448.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004654/0.117, allocations: 228.6 kB / 449.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.1173, allocations: 0.6963 MB / 449.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.012e-05/0.1174, allocations: 23.42 kB / 449.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1174, allocations: 0 / 449.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of Templates: time 0.004321/0.1217, allocations: 2.04 MB / 451.8 MB, free: 11.9 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches