Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001387/0.001387, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001523/0.001523, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 246.9 MB, free: 9.039 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2318/0.2318, allocations: 46.11 MB / 344.3 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00239/0.00239, allocations: 78.27 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.146, allocations: 62.45 MB / 479.9 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003626/0.1497, allocations: 2.085 MB / 482 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.1515, allocations: 1.013 MB / 483 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.1516, allocations: 4 kB / 483 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004783/0.1521, allocations: 243.5 kB / 483.3 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005061/0.1527, allocations: 227.4 kB / 483.5 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.1537, allocations: 469.4 kB / 484 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004567/0.1542, allocations: 311.1 kB / 484.3 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.1544, allocations: 60.7 kB / 484.3 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.1546, allocations: 123.5 kB / 484.4 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002393/0.1548, allocations: 211.2 kB / 484.7 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.471e-05/0.1549, allocations: 12 kB / 484.7 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001898/0.1551, allocations: 83.97 kB / 484.7 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.1552, allocations: 99.59 kB / 484.8 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.1553, allocations: 119 kB / 485 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002955/0.1556, allocations: 243.9 kB / 485.2 MB, free: 428 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1556, allocations: 0 / 485.2 MB, free: 428 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1556, allocations: 0 / 485.2 MB, free: 428 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1556, allocations: 3.938 kB / 485.2 MB, free: 424 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008098/0.1564, allocations: 0.6496 MB / 485.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.1565, allocations: 13.95 kB / 485.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.515e-05/0.1566, allocations: 40.47 kB / 485.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.157, allocations: 322.1 kB / 486.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.157, allocations: 8.375 kB / 486.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.19e-05/0.157, allocations: 16.28 kB / 486.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/0.1573, allocations: 105.8 kB / 486.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.1573, allocations: 7.922 kB / 486.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.1573, allocations: 4 kB / 486.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.1573, allocations: 4 kB / 486.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001837/0.1575, allocations: 75.88 kB / 486.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006813/0.1582, allocations: 488.3 kB / 486.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.1584, allocations: 94.42 kB / 487 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.176e-05/0.1585, allocations: 40.84 kB / 487 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.95e-05/0.1586, allocations: 4 kB / 487 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.1586, allocations: 30.56 kB / 487.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.1586, allocations: 4 kB / 487.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001028/0.1596, allocations: 384.3 kB / 487.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.1597, allocations: 55.41 kB / 487.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005899/0.1603, allocations: 0.5606 MB / 488.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.1603, allocations: 25.7 kB / 488.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.1605, allocations: 216.2 kB / 488.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.691e-05/0.1605, allocations: 51.27 kB / 488.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/0.1606, allocations: 29.7 kB / 488.4 MB, free: 13.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1607, allocations: 350.8 kB / 488.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.1608, allocations: 51.97 kB / 488.8 MB, free: 12.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.161, allocations: 62.38 kB / 488.8 MB, free: 12.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002292/0.1612, allocations: 116.8 kB / 489 MB, free: 12.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.1612, allocations: 3.938 kB / 489 MB, free: 12.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003632/0.1616, allocations: 203.7 kB / 489.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1616, allocations: 4 kB / 489.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1616, allocations: 4 kB / 489.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1617, allocations: 0 / 489.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.1618, allocations: 39.92 kB / 489.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1618, allocations: 0 / 489.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.379e-05/0.1619, allocations: 15.92 kB / 489.2 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.1619, allocations: 4 kB / 489.2 MB, free: 12.17 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 (17): * Single equations (assignments): 17 * 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.0001685/0.1621, allocations: 177.8 kB / 489.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.135e-05/0.1622, allocations: 39.44 kB / 489.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004918/0.1627, allocations: 245.5 kB / 489.7 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1627, allocations: 0 / 489.7 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1627, allocations: 4 kB / 489.7 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1627, allocations: 0 / 489.7 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008052/0.1635, allocations: 0.6217 MB / 490.3 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.1635, allocations: 4 kB / 490.3 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.1637, allocations: 31.97 kB / 490.3 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.1637, allocations: 0 / 490.3 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.1637, allocations: 8 kB / 490.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1637, allocations: 0 / 490.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1637, allocations: 3.938 kB / 490.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003924/0.1641, allocations: 302.8 kB / 490.6 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.448e-05/0.1642, allocations: 100.7 kB / 490.7 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.417e-05/0.1642, allocations: 7.938 kB / 490.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.1643, allocations: 11.98 kB / 490.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.1644, allocations: 15.92 kB / 490.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.1644, allocations: 4 kB / 490.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004188/0.1648, allocations: 423.1 kB / 491.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1648, allocations: 0 / 491.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003162/0.1652, allocations: 51.91 kB / 491.2 MB, free: 10.04 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 (17): * Single equations (assignments): 17 * 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.001673/0.1668, allocations: 0.6996 MB / 491.9 MB, free: 9.609 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003305/0.1672, allocations: 127.9 kB / 492.1 MB, free: 9.484 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1672, allocations: 0 / 492.1 MB, free: 9.484 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.1673, allocations: 71.91 kB / 492.1 MB, free: 9.414 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005353/0.1679, allocations: 80.5 kB / 492.2 MB, free: 9.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.169, allocations: 0.791 MB / 493 MB, free: 8.512 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.1694, allocations: 0.8028 MB / 493.8 MB, free: 7.684 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.267e-05/0.1695, allocations: 35.42 kB / 493.8 MB, free: 7.648 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1695, allocations: 0 / 493.8 MB, free: 7.648 MB / 366.1 MB Notification: Performance of Templates: time 0.007499/0.177, allocations: 4.508 MB / 498.4 MB, free: 3.145 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches