Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.001136/0.001135, allocations: 194 kB / 18.12 MB, free: 5.363 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.406/1.406, allocations: 222.9 MB / 241.8 MB, free: 13.87 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.2247/0.2247, allocations: 44.16 MB / 336.1 MB, free: 2.816 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 59.31 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1313, allocations: 60.83 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.004114/0.1355, allocations: 1.628 MB / 470.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.1367, allocations: 419.2 kB / 470.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.1369, allocations: 8 kB / 470.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004734/0.1373, allocations: 71.83 kB / 470.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003191/0.1378, allocations: 51.88 kB / 470.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004685/0.1382, allocations: 99.81 kB / 470.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.1385, allocations: 67.83 kB / 470.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.1387, allocations: 16.19 kB / 470.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.1388, allocations: 35.83 kB / 470.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.1389, allocations: 51.83 kB / 471 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.139, allocations: 4 kB / 471 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.1391, allocations: 35.98 kB / 471 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.314e-05/0.1392, allocations: 23.86 kB / 471 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.844e-05/0.1392, allocations: 31.8 kB / 471 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.1395, allocations: 91.98 kB / 471.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.1395, allocations: 4 kB / 471.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1395, allocations: 4 kB / 471.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.1396, allocations: 0 / 471.1 MB, free: 12.2 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006003/0.1402, allocations: 403 kB / 471.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.1402, allocations: 8.031 kB / 471.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.796e-05/0.1403, allocations: 16.84 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.1405, allocations: 196.1 kB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.1405, allocations: 4.375 kB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.1406, allocations: 4.375 kB / 471.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.1407, allocations: 65.48 kB / 471.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.1408, allocations: 7.906 kB / 471.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.1408, allocations: 4 kB / 471.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1408, allocations: 0 / 471.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.1409, allocations: 31.95 kB / 471.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004932/0.1414, allocations: 288.8 kB / 472.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.1416, allocations: 54.5 kB / 472.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.619e-05/0.1416, allocations: 20.94 kB / 472.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.1417, allocations: 0 / 472.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.1417, allocations: 30.56 kB / 472.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1417, allocations: 0 / 472.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009946/0.1427, allocations: 241.1 kB / 472.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.1428, allocations: 51.41 kB / 472.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.143, allocations: 210.1 kB / 472.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.1431, allocations: 25.7 kB / 472.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.1432, allocations: 116 kB / 472.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.727e-05/0.1432, allocations: 27.64 kB / 472.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.934e-05/0.1433, allocations: 25.66 kB / 472.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.1435, allocations: 322.8 kB / 473.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.802e-05/0.1436, allocations: 27.98 kB / 473.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.881e-05/0.1437, allocations: 27.97 kB / 473.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.1439, allocations: 68.83 kB / 473.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1439, allocations: 0 / 473.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002756/0.1442, allocations: 125.4 kB / 473.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.1442, allocations: 4 kB / 473.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1442, allocations: 4.312 kB / 473.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1442, allocations: 0 / 473.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.1444, allocations: 19.92 kB / 473.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.1444, allocations: 3.938 kB / 473.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.29e-05/0.1444, allocations: 4 kB / 473.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.1444, allocations: 7.984 kB / 473.5 MB, free: 9.574 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 (8): * Single equations (assignments): 8 * 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.0001319/0.1446, allocations: 130.4 kB / 473.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.533e-05/0.1446, allocations: 11.91 kB / 473.7 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003456/0.145, allocations: 118.4 kB / 473.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.145, allocations: 4 kB / 473.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.145, allocations: 7.875 kB / 473.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.145, allocations: 3.984 kB / 473.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000611/0.1456, allocations: 423.2 kB / 474.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1457, allocations: 4 kB / 474.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.814e-05/0.1457, allocations: 19.92 kB / 474.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1457, allocations: 0 / 474.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.1458, allocations: 4 kB / 474.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1458, allocations: 3.938 kB / 474.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1458, allocations: 0 / 474.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002939/0.1461, allocations: 216.2 kB / 474.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.1461, allocations: 88.95 kB / 474.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.1462, allocations: 0 / 474.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.1463, allocations: 4 kB / 474.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.658e-05/0.1463, allocations: 12.41 kB / 474.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.395e-06/0.1463, allocations: 8 kB / 474.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001411/0.1465, allocations: 159.2 kB / 474.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1465, allocations: 0 / 474.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002843/0.1468, allocations: 16 kB / 474.7 MB, free: 8.254 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001191/0.148, allocations: 454.6 kB / 475.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000249/0.1482, allocations: 71.89 kB / 475.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1483, allocations: 0 / 475.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.448e-05/0.1484, allocations: 39.97 kB / 475.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.1488, allocations: 27.86 kB / 475.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005826/0.1494, allocations: 292.8 kB / 475.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.1498, allocations: 0.7082 MB / 476.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.463e-05/0.1498, allocations: 20.64 kB / 476.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.1499, allocations: 15.44 kB / 476.4 MB, free: 6.762 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1499, allocations: 0 / 476.4 MB, free: 6.762 MB / 350.1 MB Notification: Performance of Templates: time 0.004356/0.1543, allocations: 1.308 MB / 477.7 MB, free: 5.465 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches