Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 105.9 kB / 16.27 MB, free: 5.93 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.001161/0.001161, allocations: 187.9 kB / 17.2 MB, free: 5.574 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.764/1.764, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.255/0.255, allocations: 43.52 MB / 313.9 MB, free: 0.5273 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.00143/0.00143, allocations: 67.03 kB / 382.7 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1406, allocations: 57.79 MB / 440.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003994/0.1447, allocations: 1.597 MB / 442.1 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008733/0.1456, allocations: 359.4 kB / 442.5 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.499e-05/0.1457, allocations: 0 / 442.5 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006477/0.1464, allocations: 459.1 kB / 442.9 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000396/0.1468, allocations: 251.4 kB / 443.2 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004802/0.1473, allocations: 151.3 kB / 443.3 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002543/0.1476, allocations: 167.6 kB / 443.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.1477, allocations: 23.91 kB / 443.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.1478, allocations: 111.8 kB / 443.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.1481, allocations: 211.6 kB / 443.8 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.765e-05/0.1481, allocations: 4 kB / 443.8 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.1483, allocations: 31.92 kB / 443.8 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.1484, allocations: 83.69 kB / 443.9 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.436e-05/0.1485, allocations: 107 kB / 444 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.1488, allocations: 251 kB / 444.3 MB, free: 3.117 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1488, allocations: 0 / 444.3 MB, free: 3.117 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1488, allocations: 4 kB / 444.3 MB, free: 3.113 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.1488, allocations: 0 / 444.3 MB, free: 3.113 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.0007441/0.1496, allocations: 0.6336 MB / 444.9 MB, free: 2.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.1496, allocations: 11.89 kB / 444.9 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.753e-05/0.1497, allocations: 44.38 kB / 445 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.15, allocations: 300.1 kB / 445.3 MB, free: 2.043 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.15, allocations: 4.375 kB / 445.3 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.1501, allocations: 4.312 kB / 445.3 MB, free: 2.035 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.1503, allocations: 73.78 kB / 445.3 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.1503, allocations: 0 / 445.3 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.1503, allocations: 0 / 445.3 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1503, allocations: 0 / 445.3 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.1505, allocations: 39.97 kB / 445.4 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005339/0.151, allocations: 400.7 kB / 445.8 MB, free: 1.477 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.1512, allocations: 46.55 kB / 445.8 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.971e-05/0.1513, allocations: 28.94 kB / 445.9 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.1513, allocations: 3.938 kB / 445.9 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.1514, allocations: 34.56 kB / 445.9 MB, free: 1.344 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.1514, allocations: 4 kB / 445.9 MB, free: 1.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.001012/0.1524, allocations: 308.2 kB / 446.2 MB, free: 1.031 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.1524, allocations: 55.41 kB / 446.2 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008085/0.1533, allocations: 0.8535 MB / 447.1 MB, free: 104 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.1533, allocations: 29.7 kB / 447.1 MB, free: 68 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/0.1535, allocations: 216 kB / 447.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.184e-05/0.1536, allocations: 23.66 kB / 447.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.099e-05/0.1537, allocations: 25.7 kB / 447.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002548/0.1539, allocations: 358.7 kB / 447.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.1541, allocations: 43.91 kB / 447.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.1543, allocations: 43.95 kB / 447.8 MB, free: 15.35 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003078/0.1546, allocations: 84.8 kB / 447.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1546, allocations: 0 / 447.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004231/0.155, allocations: 157.1 kB / 448.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.155, allocations: 4 kB / 448.1 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.1551, allocations: 7.984 kB / 448.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.1551, allocations: 0 / 448.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.1553, allocations: 23.92 kB / 448.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1553, allocations: 0 / 448.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.1554, allocations: 15.92 kB / 448.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.1554, allocations: 0 / 448.1 MB, free: 15.05 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 (7): * Single equations (assignments): 7 * 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.0002594/0.1557, allocations: 213.7 kB / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.631e-05/0.1558, allocations: 39.53 kB / 448.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005069/0.1563, allocations: 181.7 kB / 448.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.1563, allocations: 4 kB / 448.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.1563, allocations: 3.938 kB / 448.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.1564, allocations: 3.938 kB / 448.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.1574, allocations: 0.5101 MB / 449.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1574, allocations: 0 / 449.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.1576, allocations: 19.98 kB / 449.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1576, allocations: 0 / 449.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.1576, allocations: 3.938 kB / 449.1 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1576, allocations: 0 / 449.1 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.1576, allocations: 4 kB / 449.1 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004537/0.1581, allocations: 251 kB / 449.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.307e-05/0.1582, allocations: 108.5 kB / 449.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.286e-05/0.1582, allocations: 15.92 kB / 449.5 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.1584, allocations: 4 kB / 449.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/0.1584, allocations: 11.98 kB / 449.5 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.1585, allocations: 0 / 449.5 MB, free: 13.58 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008581/0.1593, allocations: 0.655 MB / 450.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1593, allocations: 0 / 450.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000426/0.1598, allocations: 31.98 kB / 450.2 MB, free: 12.9 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 (7): * Single equations (assignments): 7 * 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.00118/0.161, allocations: 387.1 kB / 450.5 MB, free: 12.6 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000322/0.1613, allocations: 99.84 kB / 450.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1613, allocations: 4 kB / 450.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.1614, allocations: 43.97 kB / 450.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.1619, allocations: 21.95 kB / 450.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.1629, allocations: 0.8227 MB / 451.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.1633, allocations: 0.8299 MB / 452.4 MB, free: 10.73 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.415e-05/0.1634, allocations: 19.92 kB / 452.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/0.1634, allocations: 19.42 kB / 452.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1634, allocations: 0 / 452.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of Templates: time 0.004824/0.1683, allocations: 1.593 MB / 454 MB, free: 9.105 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches