Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 106.2 kB / 16.64 MB, free: 6.82 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.00114/0.001141, allocations: 194.5 kB / 17.56 MB, free: 5.945 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.412/1.412, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.2188/0.2188, allocations: 43.51 MB / 314.3 MB, free: 0.7148 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.002/0.002001, allocations: 68.23 kB / 382.9 MB, free: 56.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1264, allocations: 57.79 MB / 440.7 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.00297/0.1294, allocations: 1.643 MB / 442.3 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006025/0.1301, allocations: 355.5 kB / 442.7 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.228e-05/0.1302, allocations: 0 / 442.7 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000461/0.1306, allocations: 459.1 kB / 443.1 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003049/0.131, allocations: 243.5 kB / 443.3 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004043/0.1314, allocations: 143.2 kB / 443.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002735/0.1317, allocations: 163.7 kB / 443.6 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.1318, allocations: 24.11 kB / 443.7 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.132, allocations: 107.8 kB / 443.8 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00021/0.1322, allocations: 219.6 kB / 444 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.1322, allocations: 4 kB / 444 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.865e-05/0.1323, allocations: 35.97 kB / 444 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.735e-05/0.1324, allocations: 87.62 kB / 444.1 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.786e-05/0.1325, allocations: 99 kB / 444.2 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.1327, allocations: 191.8 kB / 444.4 MB, free: 3.609 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1328, allocations: 0 / 444.4 MB, free: 3.609 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1328, allocations: 0 / 444.4 MB, free: 3.609 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.1328, allocations: 0 / 444.4 MB, free: 3.609 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006122/0.1334, allocations: 0.6219 MB / 445 MB, free: 2.938 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1334, allocations: 15.89 kB / 445 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.459e-05/0.1335, allocations: 48.36 kB / 445.1 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.1337, allocations: 296.2 kB / 445.4 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.1338, allocations: 4.375 kB / 445.4 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.1338, allocations: 384 / 445.4 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.1339, allocations: 65.59 kB / 445.4 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.134, allocations: 0 / 445.4 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.134, allocations: 0 / 445.4 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.134, allocations: 0 / 445.4 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.948e-05/0.1341, allocations: 31.97 kB / 445.5 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004418/0.1345, allocations: 396.6 kB / 445.9 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.1348, allocations: 50.5 kB / 445.9 MB, free: 1.945 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.805e-05/0.1348, allocations: 16.94 kB / 445.9 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.1349, allocations: 4 kB / 445.9 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.1349, allocations: 34.56 kB / 446 MB, free: 1.879 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.1349, allocations: 0 / 446 MB, free: 1.879 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005873/0.1355, allocations: 232.2 kB / 446.2 MB, free: 1.645 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.1355, allocations: 51.41 kB / 446.2 MB, free: 1.582 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005835/0.1361, allocations: 0.8613 MB / 447.1 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/0.1361, allocations: 25.7 kB / 447.1 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.1362, allocations: 228 kB / 447.3 MB, free: 464 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.1363, allocations: 23.64 kB / 447.4 MB, free: 440 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.1363, allocations: 17.72 kB / 447.4 MB, free: 416 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.014e-05/0.1364, allocations: 358.8 kB / 447.7 MB, free: 48 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.445e-05/0.1365, allocations: 27.92 kB / 447.8 MB, free: 20 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.328e-05/0.1365, allocations: 19.98 kB / 447.8 MB, free: 0 / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.1367, allocations: 52.83 kB / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1367, allocations: 192 / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002135/0.1369, allocations: 129.2 kB / 448 MB, free: 15.81 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1369, allocations: 4 kB / 448 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1369, allocations: 0 / 448 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.137, allocations: 0 / 448 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.227e-05/0.137, allocations: 15.94 kB / 448 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.137, allocations: 3.984 kB / 448 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.357e-05/0.1371, allocations: 11.94 kB / 448 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.1371, allocations: 4 kB / 448 MB, free: 15.77 MB / 334.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 0.0001851/0.1373, allocations: 217.7 kB / 448.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.543e-05/0.1374, allocations: 43.44 kB / 448.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002695/0.1376, allocations: 137 kB / 448.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1376, allocations: 0 / 448.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1377, allocations: 4 kB / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.1377, allocations: 3.938 kB / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005768/0.1383, allocations: 466.5 kB / 448.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1383, allocations: 4 kB / 448.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.338e-05/0.1383, allocations: 11.98 kB / 448.9 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.1383, allocations: 0 / 448.9 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/0.1384, allocations: 7.875 kB / 448.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1384, allocations: 0 / 448.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1384, allocations: 4 kB / 448.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.1387, allocations: 227.1 kB / 449.1 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7e-05/0.1388, allocations: 104.6 kB / 449.2 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.1388, allocations: 7.938 kB / 449.2 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.772e-05/0.1389, allocations: 3.984 kB / 449.2 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.1389, allocations: 4 kB / 449.2 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.139, allocations: 8 kB / 449.2 MB, free: 14.44 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005821/0.1395, allocations: 0.6511 MB / 449.9 MB, free: 13.79 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1396, allocations: 0 / 449.9 MB, free: 13.79 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.1398, allocations: 24 kB / 449.9 MB, free: 13.77 MB / 334.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.001014/0.1408, allocations: 395.8 kB / 450.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002169/0.1411, allocations: 59.91 kB / 450.3 MB, free: 13.39 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.1411, allocations: 4 kB / 450.3 MB, free: 13.39 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.641e-05/0.1412, allocations: 23.98 kB / 450.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005074/0.1417, allocations: 33.83 kB / 450.4 MB, free: 13.33 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.1429, allocations: 0.9062 MB / 451.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004894/0.1434, allocations: 0.824 MB / 452.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.76e-05/0.1435, allocations: 19.44 kB / 452.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1435, allocations: 0 / 452.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of Templates: time 0.007443/0.1509, allocations: 3.714 MB / 455.9 MB, free: 7.809 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches