Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") translateModel(ModelicaTest.Tables.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 107.5 kB / 17.04 MB, free: 6.078 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.001474/0.001474, allocations: 192 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.677/1.677, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.229/0.229, 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.001541/0.001541, allocations: 76.7 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1365, allocations: 57.79 MB / 442 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test9): time 0.002848/0.1394, allocations: 1.557 MB / 443.5 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005159/0.1399, allocations: 315.5 kB / 443.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.465e-05/0.14, allocations: 0 / 443.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004303/0.1405, allocations: 451.2 kB / 444.3 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002999/0.1408, allocations: 247.4 kB / 444.5 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.141, allocations: 111.4 kB / 444.6 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.1412, allocations: 155.7 kB / 444.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.992e-05/0.1413, allocations: 15.98 kB / 444.8 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.61e-05/0.1414, allocations: 107.7 kB / 444.9 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.1416, allocations: 207.6 kB / 445.1 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.1416, allocations: 4 kB / 445.1 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.199e-05/0.1417, allocations: 23.98 kB / 445.1 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.545e-05/0.1418, allocations: 83.67 kB / 445.2 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.519e-05/0.1418, allocations: 99 kB / 445.3 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.1421, allocations: 247 kB / 445.6 MB, free: 2.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.1421, allocations: 0 / 445.6 MB, free: 2.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1421, allocations: 0 / 445.6 MB, free: 2.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1421, allocations: 0 / 445.6 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.0006631/0.1428, allocations: 0.6297 MB / 446.2 MB, free: 1.891 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.1428, allocations: 19.89 kB / 446.2 MB, free: 1.871 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.26e-05/0.1429, allocations: 36.47 kB / 446.2 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.1432, allocations: 296.1 kB / 446.5 MB, free: 1.508 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.1432, allocations: 8.375 kB / 446.5 MB, free: 1.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.1432, allocations: 4.375 kB / 446.5 MB, free: 1.496 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.1434, allocations: 49.81 kB / 446.6 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1434, allocations: 0 / 446.6 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1434, allocations: 0 / 446.6 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1434, allocations: 0 / 446.6 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.1435, allocations: 35.97 kB / 446.6 MB, free: 1.406 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004376/0.144, allocations: 380.7 kB / 447 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.1441, allocations: 42.5 kB / 447 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.201e-05/0.1442, allocations: 20.94 kB / 447.1 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.1442, allocations: 4 kB / 447.1 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.1442, allocations: 34.56 kB / 447.1 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.1442, allocations: 0 / 447.1 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.000336/0.1446, allocations: 113.1 kB / 447.2 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.1446, allocations: 55.41 kB / 447.3 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006129/0.1453, allocations: 0.8497 MB / 448.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.1453, allocations: 33.64 kB / 448.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.1454, allocations: 212.1 kB / 448.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.1455, allocations: 15.75 kB / 448.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.1455, allocations: 13.72 kB / 448.4 MB, free: 15.53 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1457, allocations: 362.7 kB / 448.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.893e-05/0.1457, allocations: 11.98 kB / 448.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.949e-05/0.1458, allocations: 16.17 kB / 448.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.1459, allocations: 44.91 kB / 448.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1459, allocations: 3.938 kB / 448.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000181/0.1461, allocations: 101.2 kB / 448.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1461, allocations: 4 kB / 448.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1462, allocations: 0 / 448.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.1462, allocations: 3.984 kB / 448.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.971e-05/0.1463, allocations: 8 kB / 448.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1463, allocations: 0 / 448.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.139e-05/0.1463, allocations: 11.98 kB / 448.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.1463, allocations: 0 / 448.9 MB, free: 14.96 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 (3): * Single equations (assignments): 3 * 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.000282/0.1466, allocations: 213.7 kB / 449.1 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.548e-05/0.1467, allocations: 43.44 kB / 449.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/0.147, allocations: 116.9 kB / 449.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.147, allocations: 3.984 kB / 449.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.147, allocations: 0 / 449.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.147, allocations: 4 kB / 449.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/0.1473, allocations: 293.4 kB / 449.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1473, allocations: 0 / 449.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.323e-05/0.1474, allocations: 4 kB / 449.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1474, allocations: 4 kB / 449.6 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.1474, allocations: 0 / 449.6 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1474, allocations: 4 kB / 449.6 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1474, allocations: 0 / 449.6 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.1476, allocations: 206.9 kB / 449.8 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.09e-05/0.1477, allocations: 108.5 kB / 449.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.1478, allocations: 4 kB / 449.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.601e-05/0.1479, allocations: 3.984 kB / 449.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.1479, allocations: 7.938 kB / 449.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.1479, allocations: 4 kB / 449.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005599/0.1485, allocations: 0.6432 MB / 450.6 MB, free: 13.21 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1485, allocations: 0 / 450.6 MB, free: 13.21 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.1488, allocations: 24 kB / 450.6 MB, free: 13.19 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 (3): * Single equations (assignments): 3 * 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.0008008/0.1496, allocations: 349.6 kB / 450.9 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001714/0.1498, allocations: 43.91 kB / 451 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1498, allocations: 0 / 451 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.112e-05/0.1498, allocations: 23.92 kB / 451 MB, free: 12.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.1502, allocations: 21.95 kB / 451 MB, free: 12.83 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009788/0.1512, allocations: 0.7561 MB / 451.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.1516, allocations: 0.8182 MB / 452.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.857e-05/0.1517, allocations: 11.97 kB / 452.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.872e-05/0.1517, allocations: 11.44 kB / 452.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1517, allocations: 0 / 452.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of Templates: time 0.004684/0.1564, allocations: 1.311 MB / 453.9 MB, free: 9.883 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches