Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.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.CombiTable2Ds.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 108.6 kB / 17.21 MB, free: 6.289 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.001421/0.001421, allocations: 194 kB / 18.12 MB, free: 5.383 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.467/1.467, allocations: 222.9 MB / 241.8 MB, free: 13.65 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.2143/0.2143, allocations: 44.18 MB / 336.1 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001347, allocations: 72.7 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1392, allocations: 60.83 MB / 468.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test14): time 0.004332/0.1436, allocations: 1.673 MB / 470.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.1455, allocations: 1.011 MB / 471.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.022e-05/0.1456, allocations: 0 / 471.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002752/0.1459, allocations: 23.86 kB / 471.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.1462, allocations: 31.91 kB / 471.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004556/0.1467, allocations: 122.4 kB / 471.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.1469, allocations: 55.84 kB / 471.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.147, allocations: 16.19 kB / 471.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.103e-05/0.1471, allocations: 27.84 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.1473, allocations: 31.84 kB / 471.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.1473, allocations: 4 kB / 471.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001909/0.1475, allocations: 47.97 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.1476, allocations: 15.92 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.631e-05/0.1477, allocations: 19.88 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.148, allocations: 95.75 kB / 471.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.148, allocations: 4 kB / 471.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.148, allocations: 0 / 471.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.148, allocations: 0 / 471.7 MB, free: 11.63 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.000656/0.1487, allocations: 383.5 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.1487, allocations: 12.03 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.079e-05/0.1488, allocations: 4.844 kB / 472.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.1491, allocations: 195.4 kB / 472.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.1491, allocations: 4.375 kB / 472.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.1491, allocations: 4.375 kB / 472.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.1493, allocations: 79.33 kB / 472.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.1494, allocations: 0 / 472.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.1494, allocations: 0 / 472.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.1494, allocations: 3.984 kB / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.1496, allocations: 35.91 kB / 472.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.15, allocations: 292.7 kB / 472.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.1501, allocations: 42.56 kB / 472.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.052e-05/0.1502, allocations: 20.94 kB / 472.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.1503, allocations: 3.938 kB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.1503, allocations: 42.56 kB / 472.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.1503, allocations: 0 / 472.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007825/0.1511, allocations: 201.2 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.1512, allocations: 81.11 kB / 473.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.1514, allocations: 137.8 kB / 473.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.1514, allocations: 25.7 kB / 473.2 MB, free: 9.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.203e-05/0.1514, allocations: 100 kB / 473.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.1515, allocations: 23.66 kB / 473.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/0.1515, allocations: 17.72 kB / 473.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.1517, allocations: 318.8 kB / 473.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.1519, allocations: 31.97 kB / 473.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.152, allocations: 49.75 kB / 473.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.1522, allocations: 76.75 kB / 473.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1522, allocations: 0 / 473.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002755/0.1525, allocations: 117.5 kB / 474 MB, free: 9.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1525, allocations: 6.969 kB / 474 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1525, allocations: 0 / 474 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1526, allocations: 4 kB / 474 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.1527, allocations: 15.98 kB / 474 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.1527, allocations: 0 / 474 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.863e-05/0.1528, allocations: 15.92 kB / 474 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.1528, allocations: 0 / 474 MB, free: 9.094 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 (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 9.838e-05/0.1529, allocations: 126.4 kB / 474.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.785e-05/0.1529, allocations: 7.906 kB / 474.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004752/0.1534, allocations: 125.9 kB / 474.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.1534, allocations: 0 / 474.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.1534, allocations: 0 / 474.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1534, allocations: 3.938 kB / 474.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005332/0.154, allocations: 386.9 kB / 474.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.154, allocations: 3.938 kB / 474.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.501e-05/0.1541, allocations: 23.98 kB / 474.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1541, allocations: 0 / 474.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.1541, allocations: 3.938 kB / 474.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.1541, allocations: 0 / 474.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1541, allocations: 0 / 474.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003999/0.1545, allocations: 215.5 kB / 474.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.84e-05/0.1546, allocations: 85 kB / 475 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.1546, allocations: 7.938 kB / 475 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.618e-05/0.1547, allocations: 8 kB / 475 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.391e-05/0.1548, allocations: 11.98 kB / 475 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.1548, allocations: 0 / 475 MB, free: 8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.797e-05/0.1549, allocations: 111.2 kB / 475.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1549, allocations: 0 / 475.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003046/0.1552, allocations: 24 kB / 475.1 MB, free: 7.867 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 (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.001129/0.1564, allocations: 437.8 kB / 475.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002917/0.1567, allocations: 79.92 kB / 475.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1567, allocations: 0 / 475.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.1568, allocations: 43.91 kB / 475.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.1572, allocations: 19.98 kB / 475.7 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004702/0.1577, allocations: 195.9 kB / 475.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.1581, allocations: 0.6965 MB / 476.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.542e-05/0.1582, allocations: 20.25 kB / 476.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.45e-05/0.1582, allocations: 15.42 kB / 476.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1582, allocations: 0 / 476.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of Templates: time 0.004554/0.1628, allocations: 1.419 MB / 478 MB, free: 5.074 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test14/Test14.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches