Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009628/0.0009627, allocations: 93.25 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.001286/0.001286, allocations: 168.2 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.428/1.428, allocations: 223.2 MB / 242.3 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.212/0.212, allocations: 44.26 MB / 337.7 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003356, allocations: 14.97 kB / 410.3 MB, free: 27.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1291, allocations: 61.93 MB / 472.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.001892/0.131, allocations: 1.274 MB / 473.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.1324, allocations: 0.9961 MB / 474.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.464e-05/0.1325, allocations: 0 / 474.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.1327, allocations: 19.92 kB / 474.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001563/0.1329, allocations: 31.91 kB / 474.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.1332, allocations: 94.7 kB / 474.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.1333, allocations: 59.78 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1334, allocations: 15.97 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.686e-05/0.1335, allocations: 15.94 kB / 474.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.1336, allocations: 27.86 kB / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.1336, allocations: 0 / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.1338, allocations: 47.95 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.503e-05/0.1338, allocations: 15.88 kB / 474.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.928e-05/0.1339, allocations: 41.58 kB / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.1341, allocations: 91.75 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.1341, allocations: 4 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1341, allocations: 3.938 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.1341, allocations: 0 / 475 MB, free: 10.61 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.0005173/0.1347, allocations: 363.6 kB / 475.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.1347, allocations: 16.02 kB / 475.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.1348, allocations: 0.9375 kB / 475.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.135, allocations: 184.2 kB / 475.5 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.135, allocations: 8.375 kB / 475.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.1351, allocations: 4.375 kB / 475.5 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.1353, allocations: 75.45 kB / 475.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.1353, allocations: 0 / 475.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.1353, allocations: 0 / 475.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.1353, allocations: 0 / 475.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.1355, allocations: 27.98 kB / 475.7 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004853/0.1359, allocations: 292.7 kB / 475.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.1362, allocations: 54.5 kB / 476 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.202e-05/0.1363, allocations: 20.92 kB / 476 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.1363, allocations: 4 kB / 476 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.1364, allocations: 34.56 kB / 476 MB, free: 9.383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.1364, allocations: 0 / 476 MB, free: 9.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006799/0.1371, allocations: 157.4 kB / 476.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.948e-05/0.1372, allocations: 81.09 kB / 476.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.1373, allocations: 137 kB / 476.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.1373, allocations: 25.7 kB / 476.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.679e-05/0.1374, allocations: 96.12 kB / 476.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.1375, allocations: 19.66 kB / 476.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.1375, allocations: 13.72 kB / 476.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1377, allocations: 326.8 kB / 476.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.763e-05/0.1377, allocations: 23.98 kB / 476.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.239e-05/0.1378, allocations: 41.62 kB / 476.9 MB, free: 8.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.138, allocations: 64.86 kB / 477 MB, free: 8.352 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.138, allocations: 0 / 477 MB, free: 8.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002013/0.1382, allocations: 85.67 kB / 477.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1382, allocations: 8 kB / 477.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1382, allocations: 0 / 477.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.1383, allocations: 4 kB / 477.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.32e-05/0.1383, allocations: 11.98 kB / 477.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.1383, allocations: 4 kB / 477.1 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.47e-05/0.1384, allocations: 7.984 kB / 477.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.1384, allocations: 0 / 477.1 MB, free: 8.227 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 9.751e-05/0.1385, allocations: 126.2 kB / 477.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.1386, allocations: 7.906 kB / 477.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.1388, allocations: 101.9 kB / 477.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.1388, allocations: 8 kB / 477.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.1389, allocations: 4 kB / 477.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.1389, allocations: 0 / 477.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004559/0.1393, allocations: 366.3 kB / 477.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1393, allocations: 4 kB / 477.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.389e-05/0.1394, allocations: 8 kB / 477.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1394, allocations: 7.938 kB / 477.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.1394, allocations: 7.984 kB / 477.8 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.1394, allocations: 3.938 kB / 477.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1394, allocations: 0 / 477.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.1397, allocations: 187.5 kB / 477.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.1398, allocations: 89 kB / 478 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.1398, allocations: 0 / 478 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.42e-05/0.1399, allocations: 15.92 kB / 478 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.1399, allocations: 4 kB / 478.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.1399, allocations: 4 kB / 478.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.033e-05/0.14, allocations: 99.27 kB / 478.2 MB, free: 7.098 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.14, allocations: 0 / 478.2 MB, free: 7.098 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002766/0.1403, allocations: 23.98 kB / 478.2 MB, free: 7.074 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.001032/0.1414, allocations: 449.9 kB / 478.6 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002183/0.1416, allocations: 59.97 kB / 478.7 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1416, allocations: 0 / 478.7 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.959e-05/0.1417, allocations: 35.91 kB / 478.7 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.142, allocations: 12 kB / 478.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003956/0.1424, allocations: 184.6 kB / 478.9 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.1427, allocations: 0.6887 MB / 479.6 MB, free: 5.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.245e-05/0.1428, allocations: 11.98 kB / 479.6 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.1428, allocations: 15.42 kB / 479.6 MB, free: 5.742 MB / 350.1 MB Notification: Performance of SimCode: time 4.7e-07/0.1429, allocations: 0 / 479.6 MB, free: 5.742 MB / 350.1 MB Notification: Performance of Templates: time 0.00425/0.1471, allocations: 1.317 MB / 480.9 MB, free: 4.434 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches