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.001569/0.001576, allocations: 103.6 kB / 16.93 MB, free: 5.793 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.001692/0.001692, allocations: 191.3 kB / 17.86 MB, free: 5.152 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.407/1.407, 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.2103/0.2103, 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.001487/0.001487, allocations: 68.53 kB / 383.4 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1194, allocations: 57.79 MB / 441.2 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002903/0.1224, allocations: 1.699 MB / 442.9 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.1235, allocations: 0.7922 MB / 443.7 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.37e-05/0.1236, allocations: 4 kB / 443.7 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.124, allocations: 55.75 kB / 443.7 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.1242, allocations: 55.75 kB / 443.8 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002153/0.1244, allocations: 79.78 kB / 443.9 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.1246, allocations: 99.67 kB / 444 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1247, allocations: 12.52 kB / 444 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.659e-05/0.1248, allocations: 39.8 kB / 444 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.908e-05/0.1248, allocations: 27.84 kB / 444.1 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.1249, allocations: 4 kB / 444.1 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.752e-05/0.125, allocations: 47.92 kB / 444.1 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.999e-05/0.125, allocations: 19.92 kB / 444.1 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.818e-05/0.1251, allocations: 43.72 kB / 444.2 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.1253, allocations: 119.6 kB / 444.3 MB, free: 3.789 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1253, allocations: 0 / 444.3 MB, free: 3.789 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1253, allocations: 4 kB / 444.3 MB, free: 3.785 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1253, allocations: 0 / 444.3 MB, free: 3.785 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.0004589/0.1258, allocations: 422.8 kB / 444.7 MB, free: 3.324 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.1258, allocations: 15.89 kB / 444.7 MB, free: 3.309 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/0.1258, allocations: 8.844 kB / 444.7 MB, free: 3.301 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.126, allocations: 223.8 kB / 444.9 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.1261, allocations: 384 / 444.9 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.1261, allocations: 8.125 kB / 445 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.1262, allocations: 57.67 kB / 445 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1263, allocations: 0 / 445 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.1263, allocations: 0 / 445 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.1263, allocations: 4 kB / 445 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.837e-05/0.1264, allocations: 15.98 kB / 445 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002958/0.1267, allocations: 292.8 kB / 445.3 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.1268, allocations: 62.67 kB / 445.4 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.943e-05/0.1269, allocations: 20.84 kB / 445.4 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.1269, allocations: 0 / 445.4 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/0.1271, allocations: 71.33 kB / 445.5 MB, free: 2.441 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1271, allocations: 0 / 445.5 MB, free: 2.441 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004922/0.1276, allocations: 173.5 kB / 445.6 MB, free: 2.266 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.1277, allocations: 67.28 kB / 445.7 MB, free: 2.188 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.1278, allocations: 226.6 kB / 445.9 MB, free: 1.957 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.1278, allocations: 25.7 kB / 445.9 MB, free: 1.926 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.15e-05/0.1279, allocations: 104.1 kB / 446 MB, free: 1.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.1279, allocations: 23.64 kB / 446.1 MB, free: 1.797 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.1279, allocations: 25.72 kB / 446.1 MB, free: 1.766 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.749e-05/0.128, allocations: 330.8 kB / 446.4 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.242e-05/0.1281, allocations: 20 kB / 446.4 MB, free: 1.414 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.427e-05/0.1281, allocations: 37.7 kB / 446.5 MB, free: 1.371 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.587e-05/0.1282, allocations: 69.69 kB / 446.5 MB, free: 1.297 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1282, allocations: 0 / 446.5 MB, free: 1.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001518/0.1284, allocations: 97.5 kB / 446.6 MB, free: 1.195 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.1284, allocations: 8 kB / 446.6 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.1284, allocations: 0 / 446.6 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.1284, allocations: 12 kB / 446.7 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.889e-05/0.1285, allocations: 15.94 kB / 446.7 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1285, allocations: 4 kB / 446.7 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.471e-05/0.1286, allocations: 3.938 kB / 446.7 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.1286, allocations: 4 kB / 446.7 MB, free: 1.148 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 7.614e-05/0.1287, allocations: 133.8 kB / 446.8 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.102e-05/0.1287, allocations: 11.91 kB / 446.8 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.079e-05/0.1288, allocations: 21.33 kB / 446.9 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1288, allocations: 0 / 446.9 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1288, allocations: 4 kB / 446.9 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1288, allocations: 7.938 kB / 446.9 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003177/0.1291, allocations: 403.2 kB / 447.3 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1291, allocations: 0 / 447.3 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.945e-05/0.1292, allocations: 8 kB / 447.3 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1292, allocations: 0 / 447.3 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.1292, allocations: 7.938 kB / 447.3 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1292, allocations: 0 / 447.3 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1292, allocations: 7.969 kB / 447.3 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.1294, allocations: 196.3 kB / 447.5 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.671e-05/0.1294, allocations: 92.91 kB / 447.6 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.1294, allocations: 3.938 kB / 447.6 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.669e-05/0.1295, allocations: 4 kB / 447.6 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.1295, allocations: 12.17 kB / 447.6 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.1296, allocations: 8 kB / 447.6 MB, free: 140 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001364/0.1297, allocations: 167.2 kB / 447.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1297, allocations: 0 / 447.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.13, allocations: 31.98 kB / 447.8 MB, free: 15.94 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.001126/0.1311, allocations: 478.4 kB / 448.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002094/0.1313, allocations: 55.98 kB / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1314, allocations: 3.938 kB / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.158e-05/0.1314, allocations: 27.97 kB / 448.3 MB, free: 15.47 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.1318, allocations: 33.17 kB / 448.4 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005426/0.1323, allocations: 276.9 kB / 448.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.1327, allocations: 0.7196 MB / 449.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.1327, allocations: 15.44 kB / 449.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1327, allocations: 0 / 449.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of Templates: time 0.004108/0.1368, allocations: 1.975 MB / 451.3 MB, free: 12.41 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 -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