Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 106.9 kB / 17.21 MB, free: 6.273 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.001231/0.001231, allocations: 194 kB / 18.12 MB, free: 5.363 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.485/1.485, allocations: 222.9 MB / 241.8 MB, free: 15.43 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.2199/0.2199, allocations: 44.18 MB / 336.1 MB, free: 3 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 68.53 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1334, allocations: 60.83 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003216/0.1367, allocations: 1.692 MB / 470.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009312/0.1377, allocations: 455.1 kB / 470.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.677e-05/0.1377, allocations: 0 / 470.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003381/0.1381, allocations: 67.84 kB / 470.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.1383, allocations: 55.88 kB / 470.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004792/0.1388, allocations: 158.4 kB / 470.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.139, allocations: 83.81 kB / 471 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.1391, allocations: 19.98 kB / 471 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.022e-05/0.1392, allocations: 43.77 kB / 471.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.1393, allocations: 47.83 kB / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.1393, allocations: 4 kB / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.1394, allocations: 47.97 kB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.433e-05/0.1395, allocations: 27.92 kB / 471.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.589e-05/0.1396, allocations: 31.73 kB / 471.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.1398, allocations: 108 kB / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1398, allocations: 0 / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.1398, allocations: 0 / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.1398, allocations: 4 kB / 471.3 MB, free: 12.01 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005154/0.1403, allocations: 418.9 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1404, allocations: 8.031 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.358e-05/0.1404, allocations: 12.75 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.1406, allocations: 208 kB / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-06/0.1406, allocations: 4.375 kB / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.1407, allocations: 384 / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.1409, allocations: 77.67 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1409, allocations: 0 / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.1409, allocations: 0 / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1409, allocations: 4 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.1411, allocations: 43.95 kB / 472.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004945/0.1416, allocations: 320.8 kB / 472.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.1418, allocations: 58.48 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.271e-05/0.1419, allocations: 32.97 kB / 472.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.142, allocations: 7.984 kB / 472.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.142, allocations: 30.56 kB / 472.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.903e-06/0.142, allocations: 0 / 472.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001559/0.1436, allocations: 412.7 kB / 472.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.1436, allocations: 63.34 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.1438, allocations: 203.3 kB / 473.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.1438, allocations: 33.64 kB / 473.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.144, allocations: 100.1 kB / 473.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.144, allocations: 39.45 kB / 473.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-05/0.1441, allocations: 21.72 kB / 473.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1442, allocations: 326.8 kB / 473.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.1444, allocations: 60.52 kB / 473.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.1445, allocations: 55.95 kB / 473.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000271/0.1448, allocations: 125 kB / 474 MB, free: 9.172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1448, allocations: 0 / 474 MB, free: 9.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003502/0.1451, allocations: 169.4 kB / 474.1 MB, free: 9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.1452, allocations: 4 kB / 474.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.1452, allocations: 8 kB / 474.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1452, allocations: 3.984 kB / 474.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.1453, allocations: 27.92 kB / 474.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1454, allocations: 0 / 474.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.09e-05/0.1454, allocations: 11.89 kB / 474.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.1454, allocations: 4 kB / 474.2 MB, free: 8.941 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 (11): * Single equations (assignments): 11 * 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.0001895/0.1456, allocations: 138.4 kB / 474.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.1457, allocations: 11.91 kB / 474.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004318/0.1461, allocations: 190.9 kB / 474.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1461, allocations: 7.875 kB / 474.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1461, allocations: 0 / 474.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1462, allocations: 0 / 474.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007825/0.1469, allocations: 0.5076 MB / 475 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.147, allocations: 0 / 475 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.1471, allocations: 27.97 kB / 475.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.1471, allocations: 4.062 kB / 475.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.1471, allocations: 4 kB / 475.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.1471, allocations: 0 / 475.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.1471, allocations: 0 / 475.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000419/0.1475, allocations: 277 kB / 475.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/0.1476, allocations: 88.92 kB / 475.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.1476, allocations: 0 / 475.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.617e-05/0.1477, allocations: 11.98 kB / 475.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.956e-05/0.1478, allocations: 15.92 kB / 475.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.1478, allocations: 4 kB / 475.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.148, allocations: 155.9 kB / 475.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.148, allocations: 0 / 475.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002811/0.1483, allocations: 28 kB / 475.6 MB, free: 7.375 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001101/0.1494, allocations: 459.8 kB / 476.1 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003967/0.1498, allocations: 127.8 kB / 476.2 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1498, allocations: 7.938 kB / 476.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.15, allocations: 71.83 kB / 476.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000476/0.1505, allocations: 23.59 kB / 476.3 MB, free: 6.879 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006801/0.1511, allocations: 354 kB / 476.6 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.1515, allocations: 0.7238 MB / 477.4 MB, free: 5.754 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.1517, allocations: 32.38 kB / 477.4 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.689e-05/0.1517, allocations: 15.44 kB / 477.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1517, allocations: 0 / 477.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of Templates: time 0.004781/0.1565, allocations: 1.517 MB / 478.9 MB, free: 4.199 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches