Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.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.CombiTable2D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8") translateModel(ModelicaTest.Tables.CombiTable2D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 112.6 kB / 17.04 MB, free: 6.074 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.001445/0.001445, allocations: 195 kB / 17.97 MB, free: 5.16 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.684/1.684, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2318/0.2318, allocations: 43.52 MB / 314.7 MB, free: 492 kB / 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.001652/0.001652, allocations: 66.86 kB / 384.2 MB, free: 56.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1349, allocations: 57.8 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test8): time 0.002979/0.1379, allocations: 1.553 MB / 443.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005523/0.1385, allocations: 303.7 kB / 443.8 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.483e-05/0.1386, allocations: 0 / 443.8 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004658/0.1391, allocations: 455.1 kB / 444.3 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002888/0.1394, allocations: 247.5 kB / 444.5 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.1397, allocations: 111.3 kB / 444.6 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002296/0.1399, allocations: 155.7 kB / 444.8 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.14, allocations: 8 kB / 444.8 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.793e-05/0.1401, allocations: 111.8 kB / 444.9 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.1403, allocations: 203.6 kB / 445.1 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.1403, allocations: 7.938 kB / 445.1 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.098e-05/0.1404, allocations: 16 kB / 445.1 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.807e-05/0.1405, allocations: 79.75 kB / 445.2 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.981e-05/0.1406, allocations: 103 kB / 445.3 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.1408, allocations: 239 kB / 445.5 MB, free: 2.582 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1408, allocations: 4 kB / 445.5 MB, free: 2.578 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.588e-06/0.1408, allocations: 4 kB / 445.5 MB, free: 2.574 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.1408, allocations: 3.938 kB / 445.5 MB, free: 2.57 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006153/0.1414, allocations: 0.6219 MB / 446.2 MB, free: 1.898 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.1415, allocations: 11.89 kB / 446.2 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.113e-05/0.1415, allocations: 40.47 kB / 446.2 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.1418, allocations: 296.1 kB / 446.5 MB, free: 1.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.1418, allocations: 4.375 kB / 446.5 MB, free: 1.516 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.1418, allocations: 384 / 446.5 MB, free: 1.516 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.142, allocations: 53.81 kB / 446.6 MB, free: 1.457 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.142, allocations: 0 / 446.6 MB, free: 1.457 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.142, allocations: 0 / 446.6 MB, free: 1.457 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.142, allocations: 0 / 446.6 MB, free: 1.457 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.154e-05/0.1421, allocations: 27.86 kB / 446.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004143/0.1425, allocations: 368.8 kB / 446.9 MB, free: 1.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.223e-05/0.1426, allocations: 34.56 kB / 447 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.93e-05/0.1426, allocations: 12.92 kB / 447 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.1427, allocations: 3.984 kB / 447 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.1427, allocations: 34.5 kB / 447 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1427, allocations: 0 / 447 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002433/0.1429, allocations: 93.12 kB / 447.1 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.143, allocations: 59.53 kB / 447.2 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006538/0.1436, allocations: 0.8574 MB / 448 MB, free: 15.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.1437, allocations: 25.7 kB / 448.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.1439, allocations: 216.1 kB / 448.3 MB, free: 15.63 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.1439, allocations: 7.906 kB / 448.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.1439, allocations: 13.66 kB / 448.3 MB, free: 15.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.1441, allocations: 366.7 kB / 448.6 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.219e-05/0.1442, allocations: 8 kB / 448.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.334e-05/0.1442, allocations: 15.92 kB / 448.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.02e-05/0.1443, allocations: 24.84 kB / 448.7 MB, free: 15.19 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1443, allocations: 0 / 448.7 MB, free: 15.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001393/0.1444, allocations: 89.12 kB / 448.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1445, allocations: 4 kB / 448.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1445, allocations: 0 / 448.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1445, allocations: 0 / 448.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.708e-05/0.1446, allocations: 8.094 kB / 448.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.1446, allocations: 0 / 448.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.232e-05/0.1446, allocations: 11.92 kB / 448.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.1446, allocations: 0 / 448.8 MB, free: 15.07 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 (2): * Single equations (assignments): 2 * 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.000187/0.1448, allocations: 217.7 kB / 449 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.264e-05/0.1449, allocations: 43.47 kB / 449.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001938/0.1451, allocations: 96.64 kB / 449.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1451, allocations: 4.031 kB / 449.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1451, allocations: 0 / 449.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.1451, allocations: 7.969 kB / 449.2 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.1454, allocations: 281.5 kB / 449.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1454, allocations: 0 / 449.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.229e-05/0.1455, allocations: 11.98 kB / 449.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1455, allocations: 0 / 449.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1455, allocations: 0 / 449.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.1455, allocations: 4 kB / 449.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1455, allocations: 0 / 449.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.1457, allocations: 190.9 kB / 449.6 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.907e-05/0.1458, allocations: 104.6 kB / 449.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.1459, allocations: 7.938 kB / 449.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.757e-05/0.1459, allocations: 3.984 kB / 449.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.146, allocations: 0 / 449.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.309e-06/0.146, allocations: 4 kB / 449.8 MB, free: 14.01 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006568/0.1466, allocations: 0.6433 MB / 450.4 MB, free: 13.37 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1467, allocations: 4.031 kB / 450.4 MB, free: 13.37 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.1469, allocations: 20 kB / 450.4 MB, free: 13.35 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 (2): * Single equations (assignments): 2 * 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.0009576/0.1479, allocations: 348.6 kB / 450.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001608/0.1481, allocations: 23.98 kB / 450.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.1481, allocations: 4 kB / 450.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.874e-05/0.1481, allocations: 11.92 kB / 450.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.1485, allocations: 21.97 kB / 450.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.1496, allocations: 0.7556 MB / 451.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004393/0.15, allocations: 0.8221 MB / 452.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.933e-05/0.1501, allocations: 7.984 kB / 452.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.1501, allocations: 11.44 kB / 452.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1501, allocations: 0 / 452.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of Templates: time 0.004826/0.155, allocations: 1.248 MB / 453.7 MB, free: 10.14 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches