Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.CombiTable1Dv.Test2,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.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,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.CombiTable1Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001198, allocations: 94.19 kB / 17.35 MB, free: 6.344 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.001711/0.001711, allocations: 168.8 kB / 18.25 MB, free: 5.508 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.537/1.537, allocations: 223.3 MB / 242.3 MB, free: 14.46 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.2094/0.2094, allocations: 44.26 MB / 337.7 MB, free: 2.414 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004338/0.0004339, allocations: 8 kB / 410.3 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1283, allocations: 61.93 MB / 472.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002052/0.1304, allocations: 1.27 MB / 473.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007744/0.1312, allocations: 407.4 kB / 473.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.771e-05/0.1312, allocations: 0 / 473.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002116/0.1315, allocations: 23.91 kB / 474 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.1316, allocations: 23.92 kB / 474 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.1319, allocations: 95.81 kB / 474.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.1321, allocations: 47.84 kB / 474.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1322, allocations: 23.92 kB / 474.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.439e-05/0.1322, allocations: 11.94 kB / 474.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.503e-05/0.1323, allocations: 19.86 kB / 474.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.1323, allocations: 4 kB / 474.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.857e-05/0.1324, allocations: 27.98 kB / 474.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.736e-05/0.1324, allocations: 15.92 kB / 474.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.701e-05/0.1325, allocations: 45.56 kB / 474.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.1327, allocations: 67.8 kB / 474.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1327, allocations: 0 / 474.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.175e-06/0.1327, allocations: 0 / 474.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1327, allocations: 4 kB / 474.3 MB, free: 11.22 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.0004272/0.1331, allocations: 367.5 kB / 474.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.1332, allocations: 12.03 kB / 474.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.285e-05/0.1332, allocations: 4.844 kB / 474.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.1334, allocations: 184.2 kB / 474.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.1334, allocations: 4.375 kB / 474.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/0.1335, allocations: 4.359 kB / 474.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.1337, allocations: 61.8 kB / 475 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1337, allocations: 0 / 475 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.1337, allocations: 7.938 kB / 475 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1337, allocations: 0 / 475 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.36e-05/0.1338, allocations: 27.92 kB / 475 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/0.1342, allocations: 284.9 kB / 475.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.1344, allocations: 46.55 kB / 475.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.258e-05/0.1345, allocations: 16.86 kB / 475.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.1345, allocations: 4 kB / 475.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.1346, allocations: 38.58 kB / 475.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1346, allocations: 4 kB / 475.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005865/0.1352, allocations: 161.2 kB / 475.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.1352, allocations: 59.41 kB / 475.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.1353, allocations: 138.1 kB / 475.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.1354, allocations: 25.7 kB / 475.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/0.1354, allocations: 96.12 kB / 475.8 MB, free: 9.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.1354, allocations: 11.75 kB / 475.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.1355, allocations: 17.72 kB / 475.9 MB, free: 9.465 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1356, allocations: 318.8 kB / 476.2 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.62e-05/0.1357, allocations: 27.98 kB / 476.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.725e-05/0.1358, allocations: 23.98 kB / 476.2 MB, free: 9.094 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.1359, allocations: 64.81 kB / 476.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1359, allocations: 4 kB / 476.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001927/0.1361, allocations: 93.52 kB / 476.4 MB, free: 8.926 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1361, allocations: 6.5 kB / 476.4 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1361, allocations: 0 / 476.4 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1362, allocations: 0 / 476.4 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.761e-05/0.1362, allocations: 15.98 kB / 476.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1362, allocations: 4 kB / 476.4 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.318e-05/0.1363, allocations: 12.23 kB / 476.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.1363, allocations: 4 kB / 476.4 MB, free: 8.887 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.609e-05/0.1364, allocations: 122.2 kB / 476.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.1364, allocations: 11.91 kB / 476.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.1367, allocations: 109.9 kB / 476.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1367, allocations: 4 kB / 476.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1367, allocations: 0 / 476.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.1367, allocations: 0 / 476.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004116/0.1371, allocations: 358.5 kB / 477 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1371, allocations: 0 / 477 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.834e-05/0.1372, allocations: 15.98 kB / 477 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1372, allocations: 0 / 477 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.1372, allocations: 4 kB / 477 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.1372, allocations: 7.875 kB / 477.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1372, allocations: 0 / 477.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.1375, allocations: 191.4 kB / 477.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.993e-05/0.1375, allocations: 81.02 kB / 477.3 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.1375, allocations: 7.984 kB / 477.3 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.906e-05/0.1376, allocations: 11.94 kB / 477.3 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.1377, allocations: 0 / 477.3 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.884e-06/0.1377, allocations: 11.98 kB / 477.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.614e-05/0.1377, allocations: 110.2 kB / 477.5 MB, free: 7.758 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1378, allocations: 0 / 477.5 MB, free: 7.758 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002352/0.138, allocations: 12 kB / 477.5 MB, free: 7.746 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.0009423/0.1389, allocations: 405 kB / 477.9 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002149/0.1392, allocations: 63.89 kB / 477.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1392, allocations: 7.938 kB / 477.9 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.386e-05/0.1393, allocations: 31.98 kB / 478 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.1396, allocations: 11.98 kB / 478 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003728/0.14, allocations: 196.6 kB / 478.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.1402, allocations: 0.6926 MB / 478.9 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.09e-05/0.1403, allocations: 15.97 kB / 478.9 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.828e-05/0.1403, allocations: 11.44 kB / 478.9 MB, free: 6.422 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1403, allocations: 4 kB / 478.9 MB, free: 6.418 MB / 350.1 MB Notification: Performance of Templates: time 0.003244/0.1436, allocations: 1.03 MB / 479.9 MB, free: 5.395 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches