Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001589/0.001589, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001592/0.001592, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 247.5 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2439/0.2439, allocations: 46.11 MB / 344.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 78.75 kB / 418.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1305, allocations: 62.47 MB / 480.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003252/0.1338, allocations: 1.581 MB / 482.4 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.1356, allocations: 1.163 MB / 483.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.998e-05/0.1357, allocations: 4 kB / 483.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002234/0.1359, allocations: 27.78 kB / 483.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002834/0.1362, allocations: 87.62 kB / 483.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.1365, allocations: 107.7 kB / 483.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.1367, allocations: 67.83 kB / 483.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.842e-05/0.1368, allocations: 19.98 kB / 483.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.854e-05/0.1369, allocations: 23.88 kB / 483.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.137, allocations: 39.83 kB / 483.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.1371, allocations: 4 kB / 483.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.1372, allocations: 91.88 kB / 484 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.267e-05/0.1373, allocations: 11.98 kB / 484 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.855e-05/0.1373, allocations: 23.81 kB / 484 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.1376, allocations: 143.6 kB / 484.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1376, allocations: 0 / 484.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1376, allocations: 0 / 484.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.1376, allocations: 4 kB / 484.2 MB, free: 1.844 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005383/0.1382, allocations: 403.4 kB / 484.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1382, allocations: 8.031 kB / 484.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.877e-05/0.1383, allocations: 4.938 kB / 484.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.1385, allocations: 196.1 kB / 484.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.1385, allocations: 384 / 484.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.1385, allocations: 4.375 kB / 484.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.1387, allocations: 75.45 kB / 484.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1387, allocations: 0 / 484.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.1388, allocations: 0 / 484.8 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.1388, allocations: 7.984 kB / 484.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.043e-05/0.1389, allocations: 19.98 kB / 484.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.1393, allocations: 284.9 kB / 485.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.1395, allocations: 50.48 kB / 485.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.394e-05/0.1396, allocations: 12.86 kB / 485.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.1396, allocations: 7.984 kB / 485.2 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.1396, allocations: 38.64 kB / 485.3 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1396, allocations: 0 / 485.3 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006051/0.1402, allocations: 153.2 kB / 485.4 MB, free: 440 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/0.1403, allocations: 81.09 kB / 485.5 MB, free: 340 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.1405, allocations: 144.3 kB / 485.6 MB, free: 188 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.1405, allocations: 29.64 kB / 485.6 MB, free: 152 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.047e-05/0.1406, allocations: 92.14 kB / 485.7 MB, free: 56 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.1406, allocations: 19.7 kB / 485.8 MB, free: 36 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.1407, allocations: 17.72 kB / 485.8 MB, free: 12 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.1408, allocations: 330.8 kB / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.409e-05/0.1409, allocations: 16.05 kB / 486.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.581e-05/0.141, allocations: 37.7 kB / 486.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.1412, allocations: 60.75 kB / 486.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1412, allocations: 0 / 486.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002084/0.1414, allocations: 81.7 kB / 486.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1414, allocations: 8 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1414, allocations: 0 / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1415, allocations: 0 / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.583e-05/0.1415, allocations: 11.98 kB / 486.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.1415, allocations: 0 / 486.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.069e-05/0.1416, allocations: 7.984 kB / 486.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.1416, allocations: 7.938 kB / 486.3 MB, free: 15.44 MB / 366.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 (5): * Single equations (assignments): 5 * 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.633e-05/0.1417, allocations: 117.8 kB / 486.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.1418, allocations: 7.906 kB / 486.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002648/0.142, allocations: 101.9 kB / 486.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.142, allocations: 0 / 486.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.1421, allocations: 4 kB / 486.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.1421, allocations: 3.938 kB / 486.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000491/0.1426, allocations: 370.3 kB / 486.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1426, allocations: 320 / 486.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.114e-05/0.1426, allocations: 15.98 kB / 486.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1427, allocations: 4 kB / 486.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.1427, allocations: 0 / 486.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1427, allocations: 3.938 kB / 486.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1427, allocations: 0 / 486.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.1429, allocations: 187.4 kB / 487.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.118e-05/0.143, allocations: 77.11 kB / 487.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.143, allocations: 4 kB / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.441e-05/0.1431, allocations: 7.922 kB / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.1432, allocations: 4 kB / 487.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.1432, allocations: 3.938 kB / 487.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.1433, allocations: 121.5 kB / 487.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1433, allocations: 0 / 487.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002839/0.1436, allocations: 36 kB / 487.4 MB, free: 14.29 MB / 366.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 (5): * Single equations (assignments): 5 * 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.001677/0.1453, allocations: 496.6 kB / 487.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002151/0.1455, allocations: 59.83 kB / 487.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1455, allocations: 0 / 487.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.736e-05/0.1456, allocations: 35.92 kB / 488 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.146, allocations: 14.8 kB / 488 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004424/0.1464, allocations: 203.1 kB / 488.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.1467, allocations: 0.6885 MB / 488.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.811e-05/0.1468, allocations: 23.42 kB / 488.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1468, allocations: 0 / 488.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of Templates: time 0.003924/0.1507, allocations: 1.965 MB / 490.8 MB, free: 10.92 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches