Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001372/0.001372, allocations: 199.3 kB / 19.23 MB, free: 3.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 222.9 MB / 242.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.229/0.229, allocations: 44.17 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 60.03 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1226, allocations: 60.84 MB / 469.9 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002785/0.1254, allocations: 1.537 MB / 471.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006939/0.1261, allocations: 403.2 kB / 471.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.08e-05/0.1262, allocations: 0 / 471.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001713/0.1264, allocations: 35.84 kB / 471.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.1265, allocations: 35.78 kB / 471.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002268/0.1268, allocations: 90.75 kB / 472 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.1269, allocations: 59.78 kB / 472.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.124e-05/0.127, allocations: 8 kB / 472.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.771e-05/0.127, allocations: 23.92 kB / 472.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.907e-05/0.1271, allocations: 23.86 kB / 472.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.1271, allocations: 0 / 472.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.524e-05/0.1272, allocations: 31.98 kB / 472.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.333e-05/0.1272, allocations: 15.92 kB / 472.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.313e-05/0.1273, allocations: 19.81 kB / 472.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.1274, allocations: 79.72 kB / 472.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1274, allocations: 0 / 472.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1274, allocations: 0 / 472.3 MB, free: 12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.1274, allocations: 0 / 472.3 MB, free: 12 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003908/0.1278, allocations: 395.4 kB / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.1279, allocations: 8.031 kB / 472.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.1279, allocations: 8.844 kB / 472.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.1281, allocations: 184.2 kB / 472.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.1281, allocations: 4.375 kB / 472.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.1281, allocations: 4.375 kB / 472.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.1282, allocations: 45.81 kB / 472.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.557e-06/0.1283, allocations: 0 / 472.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1283, allocations: 4 kB / 472.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1283, allocations: 7.938 kB / 472.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.09e-05/0.1284, allocations: 23.97 kB / 472.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003045/0.1287, allocations: 280.8 kB / 473.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.1289, allocations: 50.55 kB / 473.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.873e-05/0.129, allocations: 20.8 kB / 473.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.129, allocations: 0 / 473.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.129, allocations: 34.64 kB / 473.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.129, allocations: 0 / 473.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004939/0.1295, allocations: 141.3 kB / 473.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.1296, allocations: 51.41 kB / 473.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.1297, allocations: 168.4 kB / 473.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.1297, allocations: 25.7 kB / 473.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.928e-05/0.1298, allocations: 92.14 kB / 473.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.1298, allocations: 35.56 kB / 473.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.1299, allocations: 17.72 kB / 473.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.13, allocations: 322.8 kB / 474.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.858e-05/0.1301, allocations: 15.98 kB / 474.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.683e-05/0.1301, allocations: 23.98 kB / 474.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.1303, allocations: 45.03 kB / 474.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1303, allocations: 0 / 474.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001737/0.1304, allocations: 85.5 kB / 474.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.1305, allocations: 4 kB / 474.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1305, allocations: 4 kB / 474.3 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.1305, allocations: 0 / 474.3 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.883e-05/0.1306, allocations: 12 kB / 474.3 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.1306, allocations: 0 / 474.3 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.91e-05/0.1306, allocations: 7.984 kB / 474.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.1306, allocations: 0 / 474.4 MB, free: 9.703 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.272e-05/0.1307, allocations: 125.8 kB / 474.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.088e-05/0.1307, allocations: 7.906 kB / 474.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000212/0.131, allocations: 93.89 kB / 474.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.131, allocations: 4 kB / 474.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.131, allocations: 0 / 474.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.131, allocations: 0 / 474.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003878/0.1314, allocations: 342.5 kB / 474.9 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1314, allocations: 4 kB / 474.9 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.496e-05/0.1315, allocations: 15.92 kB / 474.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1315, allocations: 3.938 kB / 474.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.1315, allocations: 4 kB / 474.9 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.1315, allocations: 7.922 kB / 475 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1315, allocations: 0 / 475 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.1317, allocations: 179.6 kB / 475.1 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.956e-05/0.1318, allocations: 85 kB / 475.2 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.1318, allocations: 0 / 475.2 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.897e-05/0.1319, allocations: 11.94 kB / 475.2 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.1319, allocations: 11.98 kB / 475.2 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.1319, allocations: 0 / 475.2 MB, free: 8.719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.904e-05/0.132, allocations: 127.2 kB / 475.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.132, allocations: 0 / 475.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002372/0.1323, allocations: 12 kB / 475.4 MB, free: 8.582 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0008892/0.1332, allocations: 402.1 kB / 475.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.1334, allocations: 51.97 kB / 475.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1334, allocations: 0 / 475.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.162e-05/0.1334, allocations: 23.98 kB / 475.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.1338, allocations: 22.67 kB / 475.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004137/0.1342, allocations: 231.7 kB / 476.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.1345, allocations: 0.6885 MB / 476.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.1345, allocations: 15.44 kB / 476.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1346, allocations: 0 / 476.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of Templates: time 0.003132/0.1377, allocations: 1.401 MB / 478.2 MB, free: 5.859 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches