Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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 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.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001746/0.001746, allocations: 103.9 kB / 17.63 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002352/0.002352, allocations: 214.4 kB / 18.58 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2946/0.2946, allocations: 46.12 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 76.14 kB / 417.7 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1418, allocations: 62.44 MB / 480.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.003612/0.1455, allocations: 1.688 MB / 481.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.1465, allocations: 0.5649 MB / 482.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.197e-05/0.1466, allocations: 0 / 482.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002882/0.1469, allocations: 67.78 kB / 482.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003099/0.1472, allocations: 103.6 kB / 482.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003387/0.1476, allocations: 135.6 kB / 482.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.1477, allocations: 83.77 kB / 482.7 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.1479, allocations: 24.2 kB / 482.8 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.445e-05/0.1479, allocations: 31.86 kB / 482.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.1481, allocations: 55.81 kB / 482.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.1481, allocations: 8 kB / 482.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.1482, allocations: 47.98 kB / 482.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.812e-05/0.1483, allocations: 31.89 kB / 482.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.626e-05/0.1483, allocations: 35.69 kB / 483 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.1485, allocations: 115.6 kB / 483.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1485, allocations: 0 / 483.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1485, allocations: 0 / 483.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1485, allocations: 0 / 483.1 MB, free: 2.227 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.0005527/0.1491, allocations: 423.2 kB / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.1491, allocations: 20.02 kB / 483.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/0.1492, allocations: 8.844 kB / 483.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.1494, allocations: 200.8 kB / 483.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.1494, allocations: 384 / 483.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.1495, allocations: 8.281 kB / 483.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.1496, allocations: 73.73 kB / 483.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.1497, allocations: 0 / 483.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.1497, allocations: 0 / 483.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1497, allocations: 0 / 483.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.1498, allocations: 39.97 kB / 483.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004704/0.1503, allocations: 304.8 kB / 484.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.1506, allocations: 62.48 kB / 484.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.806e-05/0.1506, allocations: 28.97 kB / 484.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.1507, allocations: 3.984 kB / 484.2 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.1507, allocations: 38.58 kB / 484.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.1507, allocations: 0 / 484.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001451/0.1522, allocations: 396.8 kB / 484.7 MB, free: 496 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.1522, allocations: 59.34 kB / 484.7 MB, free: 424 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.1524, allocations: 210.3 kB / 484.9 MB, free: 204 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.1525, allocations: 33.7 kB / 485 MB, free: 164 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.46e-05/0.1526, allocations: 104 kB / 485.1 MB, free: 56 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.1526, allocations: 39.44 kB / 485.1 MB, free: 16 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.467e-05/0.1527, allocations: 25.72 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1528, allocations: 322.8 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.153, allocations: 47.97 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.1531, allocations: 40.53 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.1533, allocations: 108.7 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1534, allocations: 0 / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003197/0.1537, allocations: 137.9 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1537, allocations: 4 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.1537, allocations: 7.984 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.1537, allocations: 4 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.1539, allocations: 27.92 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1539, allocations: 3.984 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.186e-05/0.1539, allocations: 11.98 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.154, allocations: 8 kB / 485.8 MB, free: 15.26 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.00012/0.1541, allocations: 133.8 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.1541, allocations: 15.81 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003972/0.1545, allocations: 166.9 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.1545, allocations: 3.938 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1546, allocations: 4 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1546, allocations: 0 / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006909/0.1553, allocations: 479.9 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1553, allocations: 0 / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.1554, allocations: 31.98 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1554, allocations: 0 / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.1554, allocations: 8 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1554, allocations: 96 / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1554, allocations: 7.922 kB / 486.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003689/0.1558, allocations: 249 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.313e-05/0.1559, allocations: 92.91 kB / 487 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.1559, allocations: 4 kB / 487 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.268e-05/0.156, allocations: 8 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.1561, allocations: 11.92 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.898e-06/0.1561, allocations: 8 kB / 487 MB, free: 13.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001507/0.1562, allocations: 168.2 kB / 487.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1563, allocations: 0 / 487.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.1565, allocations: 24 kB / 487.2 MB, free: 13.75 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.001634/0.1582, allocations: 450.9 kB / 487.7 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003562/0.1585, allocations: 115.8 kB / 487.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1585, allocations: 0 / 487.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.1587, allocations: 55.91 kB / 487.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.1591, allocations: 30.42 kB / 487.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006231/0.1597, allocations: 316.9 kB / 488.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.1601, allocations: 0.708 MB / 488.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.459e-05/0.1602, allocations: 24.53 kB / 488.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/0.1602, allocations: 11.44 kB / 488.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1603, allocations: 4 kB / 488.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of Templates: time 0.004524/0.1648, allocations: 1.558 MB / 490.5 MB, free: 10.61 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches