Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,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.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,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.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 111.7 kB / 17.04 MB, free: 5.816 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.001073/0.001073, allocations: 195 kB / 17.98 MB, free: 5.027 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.444/1.444, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.212/0.212, allocations: 43.52 MB / 314.7 MB, free: 492 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.00159/0.00159, allocations: 66.14 kB / 384.2 MB, free: 56.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1035, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002848/0.1064, allocations: 1.692 MB / 443.7 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.1074, allocations: 0.8 MB / 444.5 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.94e-05/0.1075, allocations: 4 kB / 444.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002674/0.1078, allocations: 47.75 kB / 444.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002061/0.1081, allocations: 55.77 kB / 444.6 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.1083, allocations: 87.69 kB / 444.7 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.1084, allocations: 91.7 kB / 444.8 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.158e-05/0.1085, allocations: 24.2 kB / 444.8 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.14e-05/0.1086, allocations: 35.8 kB / 444.8 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.458e-05/0.1087, allocations: 27.86 kB / 444.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.1087, allocations: 4 kB / 444.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.907e-05/0.1088, allocations: 47.97 kB / 444.9 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.071e-05/0.1089, allocations: 19.92 kB / 444.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.387e-05/0.1089, allocations: 39.67 kB / 444.9 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.1091, allocations: 119.6 kB / 445.1 MB, free: 3.047 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1091, allocations: 4 kB / 445.1 MB, free: 3.043 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.1091, allocations: 0 / 445.1 MB, free: 3.043 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1092, allocations: 0 / 445.1 MB, free: 3.043 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.0004729/0.1096, allocations: 430.8 kB / 445.5 MB, free: 2.574 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1097, allocations: 15.89 kB / 445.5 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.1097, allocations: 8.844 kB / 445.5 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.11, allocations: 215.9 kB / 445.7 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.11, allocations: 4.375 kB / 445.7 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.11, allocations: 4.125 kB / 445.7 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.1102, allocations: 61.61 kB / 445.8 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1102, allocations: 0 / 445.8 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.1102, allocations: 4 kB / 445.8 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.1102, allocations: 0 / 445.8 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.068e-05/0.1103, allocations: 19.98 kB / 445.8 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003063/0.1106, allocations: 292.9 kB / 446.1 MB, free: 1.867 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.1108, allocations: 62.62 kB / 446.2 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.069e-05/0.1109, allocations: 20.84 kB / 446.2 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.1109, allocations: 7.984 kB / 446.2 MB, free: 1.766 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/0.111, allocations: 63.39 kB / 446.3 MB, free: 1.691 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.111, allocations: 0 / 446.3 MB, free: 1.691 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005033/0.1115, allocations: 181.1 kB / 446.4 MB, free: 1.508 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.1116, allocations: 55.41 kB / 446.5 MB, free: 1.441 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.1117, allocations: 226.6 kB / 446.7 MB, free: 1.207 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.1118, allocations: 29.7 kB / 446.7 MB, free: 1.172 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.191e-05/0.1118, allocations: 108.1 kB / 446.8 MB, free: 1.062 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.1118, allocations: 23.66 kB / 446.9 MB, free: 1.039 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.432e-05/0.1119, allocations: 21.7 kB / 446.9 MB, free: 1.012 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.331e-05/0.1119, allocations: 330.8 kB / 447.2 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.554e-05/0.112, allocations: 23.94 kB / 447.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.752e-05/0.1121, allocations: 45.58 kB / 447.3 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.839e-05/0.1122, allocations: 57.7 kB / 447.3 MB, free: 0.543 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1122, allocations: 0 / 447.3 MB, free: 0.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00016/0.1123, allocations: 105.4 kB / 447.4 MB, free: 444 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1124, allocations: 9.234 kB / 447.4 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1124, allocations: 4.031 kB / 447.4 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.1124, allocations: 0 / 447.4 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.164e-05/0.1125, allocations: 16 kB / 447.5 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.1125, allocations: 0 / 447.5 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.922e-05/0.1126, allocations: 7.938 kB / 447.5 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.1126, allocations: 8.141 kB / 447.5 MB, free: 400 kB / 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 8.187e-05/0.1127, allocations: 133.7 kB / 447.6 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.175e-05/0.1127, allocations: 11.91 kB / 447.6 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/0.1128, allocations: 21.38 kB / 447.6 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1128, allocations: 8 kB / 447.6 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.1128, allocations: 0 / 447.6 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1128, allocations: 3.938 kB / 447.7 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004574/0.1132, allocations: 395.2 kB / 448 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1133, allocations: 0 / 448 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.525e-05/0.1133, allocations: 8.375 kB / 448 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1133, allocations: 0 / 448 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.1133, allocations: 7.938 kB / 448.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.1133, allocations: 8.031 kB / 448.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1133, allocations: 0 / 448.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.1136, allocations: 200.3 kB / 448.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-05/0.1137, allocations: 96.84 kB / 448.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.1137, allocations: 11.94 kB / 448.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-05/0.1138, allocations: 0 / 448.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.1138, allocations: 11.98 kB / 448.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.1139, allocations: 4 kB / 448.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001372/0.114, allocations: 163.2 kB / 448.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.114, allocations: 0 / 448.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.1143, allocations: 27.98 kB / 448.6 MB, free: 15.19 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.001141/0.1154, allocations: 475.3 kB / 449 MB, free: 14.81 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001786/0.1156, allocations: 59.91 kB / 449.1 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1156, allocations: 0 / 449.1 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.826e-05/0.1157, allocations: 24 kB / 449.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.116, allocations: 27.97 kB / 449.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005027/0.1166, allocations: 255.2 kB / 449.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.1168, allocations: 0.7119 MB / 450.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.186e-05/0.1169, allocations: 13.19 kB / 450.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.06e-05/0.1169, allocations: 19.42 kB / 450.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1169, allocations: 0 / 450.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of Templates: time 0.005151/0.1221, allocations: 1.703 MB / 451.8 MB, free: 11.97 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches