Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 104 kB / 17.63 MB, free: 5.543 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.001415/0.001415, allocations: 192.1 kB / 18.56 MB, free: 4.621 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.301/1.301, allocations: 222.9 MB / 242.2 MB, free: 15.23 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.2212/0.2212, allocations: 44.18 MB / 336.6 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 64.8 kB / 408.4 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1245, allocations: 60.82 MB / 469.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.003795/0.1284, allocations: 1.564 MB / 470.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.1305, allocations: 1.016 MB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/0.1306, allocations: 4 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002587/0.1308, allocations: 27.84 kB / 471.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002535/0.1311, allocations: 51.7 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/0.1315, allocations: 107.2 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.1317, allocations: 55.84 kB / 472.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.1318, allocations: 19.98 kB / 472.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.221e-05/0.1318, allocations: 19.92 kB / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.132, allocations: 23.86 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.132, allocations: 4 kB / 472.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.1321, allocations: 55.95 kB / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.86e-05/0.1322, allocations: 11.94 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.768e-05/0.1322, allocations: 23.8 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.1324, allocations: 91.7 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1324, allocations: 4 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1324, allocations: 0 / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.1324, allocations: 0 / 472.3 MB, free: 11.31 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.0004395/0.1329, allocations: 371.6 kB / 472.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.1329, allocations: 8.031 kB / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/0.1329, allocations: 8.844 kB / 472.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.1331, allocations: 188.2 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.1332, allocations: 384 / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.1332, allocations: 4.375 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.1334, allocations: 75.45 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.1334, allocations: 0 / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.1334, allocations: 3.938 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.1334, allocations: 0 / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.707e-05/0.1335, allocations: 23.98 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.1339, allocations: 276.9 kB / 473.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.1341, allocations: 58.47 kB / 473.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.498e-05/0.1341, allocations: 8.859 kB / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.1342, allocations: 8.078 kB / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001057/0.1343, allocations: 30.56 kB / 473.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1343, allocations: 0 / 473.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005225/0.1348, allocations: 153.3 kB / 473.5 MB, free: 9.941 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.1349, allocations: 77.11 kB / 473.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.135, allocations: 133.8 kB / 473.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.1351, allocations: 29.7 kB / 473.7 MB, free: 9.672 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.1353, allocations: 92.12 kB / 473.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.1353, allocations: 15.75 kB / 473.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.1353, allocations: 21.72 kB / 473.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1355, allocations: 326.8 kB / 474.2 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.64e-05/0.1355, allocations: 15.98 kB / 474.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.175e-05/0.1356, allocations: 37.69 kB / 474.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.1357, allocations: 56.77 kB / 474.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1357, allocations: 4.031 kB / 474.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001715/0.1359, allocations: 85.77 kB / 474.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1359, allocations: 4 kB / 474.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.136, allocations: 0 / 474.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.136, allocations: 0 / 474.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.531e-05/0.136, allocations: 15.98 kB / 474.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.136, allocations: 0 / 474.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.966e-05/0.1361, allocations: 7.984 kB / 474.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.1361, allocations: 0 / 474.4 MB, free: 8.969 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 7.874e-05/0.1362, allocations: 125.7 kB / 474.5 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.1362, allocations: 7.906 kB / 474.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002239/0.1365, allocations: 101.5 kB / 474.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1365, allocations: 3.984 kB / 474.6 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1365, allocations: 0 / 474.6 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.1365, allocations: 0 / 474.6 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003902/0.1369, allocations: 362.4 kB / 475 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1369, allocations: 0 / 475 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.889e-05/0.1369, allocations: 8 kB / 475 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.137, allocations: 0 / 475 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.137, allocations: 11.98 kB / 475 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.137, allocations: 3.938 kB / 475 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.137, allocations: 0 / 475 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.1372, allocations: 175.4 kB / 475.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.578e-05/0.1373, allocations: 85.09 kB / 475.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.1373, allocations: 256 / 475.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.568e-05/0.1374, allocations: 7.938 kB / 475.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.1374, allocations: 15.98 kB / 475.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.1374, allocations: 3.938 kB / 475.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.759e-05/0.1375, allocations: 105.9 kB / 475.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1375, allocations: 0 / 475.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002398/0.1377, allocations: 27.91 kB / 475.4 MB, free: 7.84 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.0009999/0.1387, allocations: 446.1 kB / 475.9 MB, free: 7.566 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002679/0.139, allocations: 55.95 kB / 475.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.139, allocations: 0 / 475.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.1391, allocations: 31.92 kB / 476 MB, free: 7.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000459/0.1396, allocations: 22.73 kB / 476 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000455/0.1401, allocations: 161.5 kB / 476.1 MB, free: 7.281 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.1404, allocations: 0.6885 MB / 476.8 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.162e-05/0.1405, allocations: 11.98 kB / 476.8 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.379e-05/0.1406, allocations: 23.36 kB / 476.9 MB, free: 6.531 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1406, allocations: 0 / 476.9 MB, free: 6.531 MB / 350.1 MB Notification: Performance of Templates: time 0.005129/0.1457, allocations: 1.367 MB / 478.2 MB, free: 5.172 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches