Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.CombiTable2Dv.Test29,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.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,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.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001329/0.00133, allocations: 117.9 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001488/0.001489, allocations: 201.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.4 MB / 246.5 MB, free: 9.082 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2323/0.2323, allocations: 46.12 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002701/0.002701, allocations: 81.38 kB / 417.1 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1329, allocations: 62.45 MB / 479.6 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003384/0.1363, allocations: 1.728 MB / 481.3 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.1374, allocations: 0.5767 MB / 481.9 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.707e-05/0.1375, allocations: 7.938 kB / 481.9 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000304/0.1378, allocations: 67.86 kB / 482 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002755/0.1381, allocations: 95.7 kB / 482 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.1385, allocations: 162.6 kB / 482.2 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.1387, allocations: 91.75 kB / 482.3 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1388, allocations: 20.22 kB / 482.3 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.24e-05/0.1388, allocations: 39.83 kB / 482.4 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.139, allocations: 55.83 kB / 482.4 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.139, allocations: 4 kB / 482.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.1391, allocations: 55.97 kB / 482.5 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.652e-05/0.1392, allocations: 27.86 kB / 482.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.831e-05/0.1392, allocations: 39.67 kB / 482.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.1394, allocations: 111.7 kB / 482.6 MB, free: 2.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1394, allocations: 0 / 482.6 MB, free: 2.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1394, allocations: 0 / 482.6 MB, free: 2.469 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1395, allocations: 4 kB / 482.6 MB, free: 2.465 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.0005815/0.14, allocations: 431.1 kB / 483.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.1401, allocations: 8.031 kB / 483.1 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.1401, allocations: 12.84 kB / 483.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.1404, allocations: 207.9 kB / 483.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.1404, allocations: 4.359 kB / 483.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.1404, allocations: 12.38 kB / 483.3 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.1406, allocations: 65.8 kB / 483.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1406, allocations: 0 / 483.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.1407, allocations: 0 / 483.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.1407, allocations: 8 kB / 483.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.1408, allocations: 43.95 kB / 483.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005076/0.1413, allocations: 324.6 kB / 483.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.1416, allocations: 62.55 kB / 483.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.311e-05/0.1417, allocations: 25.06 kB / 483.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.1417, allocations: 7.922 kB / 483.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.1418, allocations: 30.56 kB / 483.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.1418, allocations: 0 / 483.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001541/0.1433, allocations: 428.8 kB / 484.3 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.1434, allocations: 59.34 kB / 484.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.1436, allocations: 212.1 kB / 484.5 MB, free: 384 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.1436, allocations: 29.64 kB / 484.6 MB, free: 348 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.762e-05/0.1437, allocations: 108.1 kB / 484.7 MB, free: 236 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.37e-05/0.1438, allocations: 39.39 kB / 484.7 MB, free: 196 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.402e-05/0.1438, allocations: 29.72 kB / 484.7 MB, free: 160 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.144, allocations: 322.8 kB / 485.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.1442, allocations: 51.95 kB / 485.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.1443, allocations: 59.95 kB / 485.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002887/0.1446, allocations: 125 kB / 485.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1446, allocations: 0 / 485.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003497/0.145, allocations: 173.3 kB / 485.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.145, allocations: 8 kB / 485.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.145, allocations: 3.984 kB / 485.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.145, allocations: 0 / 485.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.1452, allocations: 32.48 kB / 485.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1452, allocations: 7.938 kB / 485.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.653e-05/0.1453, allocations: 11.98 kB / 485.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.1453, allocations: 0 / 485.5 MB, free: 15.36 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 (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.000123/0.1454, allocations: 133.8 kB / 485.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.957e-05/0.1455, allocations: 15.81 kB / 485.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004503/0.1459, allocations: 194.9 kB / 485.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.1459, allocations: 7.938 kB / 485.9 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.1459, allocations: 0 / 485.9 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1459, allocations: 3.938 kB / 485.9 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007867/0.1467, allocations: 0.5 MB / 486.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.1468, allocations: 3.984 kB / 486.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.1469, allocations: 27.92 kB / 486.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.096e-06/0.1469, allocations: 4 kB / 486.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.1469, allocations: 0 / 486.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1469, allocations: 0 / 486.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.1469, allocations: 4 kB / 486.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004234/0.1473, allocations: 280.9 kB / 486.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/0.1474, allocations: 85.02 kB / 486.8 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.1474, allocations: 3.984 kB / 486.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.468e-05/0.1475, allocations: 8 kB / 486.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.1476, allocations: 12.08 kB / 486.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.1476, allocations: 11.94 kB / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001365/0.1478, allocations: 163.4 kB / 487 MB, free: 13.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1478, allocations: 0 / 487 MB, free: 13.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002919/0.1481, allocations: 31.98 kB / 487 MB, free: 13.77 MB / 366.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.001646/0.1497, allocations: 447.1 kB / 487.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003712/0.1501, allocations: 131.8 kB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1501, allocations: 3.938 kB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.1503, allocations: 76.02 kB / 487.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.1507, allocations: 30.58 kB / 487.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000717/0.1515, allocations: 372.7 kB / 488 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.1519, allocations: 0.7197 MB / 488.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.844e-05/0.152, allocations: 36.52 kB / 488.8 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.309e-05/0.152, allocations: 15.44 kB / 488.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.152, allocations: 0 / 488.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of Templates: time 0.004802/0.1568, allocations: 1.592 MB / 490.4 MB, free: 10.48 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches