Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001249/0.001249, allocations: 105.6 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.001313/0.001313, allocations: 212.1 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2292/0.2292, allocations: 46.1 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001374, allocations: 72.06 kB / 418.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1372, allocations: 62.45 MB / 480.7 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003496/0.1407, allocations: 1.618 MB / 482.3 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.1418, allocations: 0.5455 MB / 482.9 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.039e-05/0.1419, allocations: 0 / 482.9 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000291/0.1422, allocations: 71.77 kB / 482.9 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.1425, allocations: 103.6 kB / 483 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.1428, allocations: 115.6 kB / 483.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.143, allocations: 71.89 kB / 483.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.1431, allocations: 19.97 kB / 483.2 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.678e-05/0.1432, allocations: 35.8 kB / 483.3 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.1433, allocations: 59.81 kB / 483.3 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.1433, allocations: 7.938 kB / 483.3 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.1434, allocations: 43.98 kB / 483.4 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.863e-05/0.1435, allocations: 19.92 kB / 483.4 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.755e-05/0.1436, allocations: 31.73 kB / 483.4 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.1438, allocations: 99.7 kB / 483.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.1438, allocations: 8 kB / 483.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1438, allocations: 0 / 483.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1438, allocations: 0 / 483.5 MB, free: 2.449 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005337/0.1443, allocations: 403.3 kB / 483.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.1444, allocations: 12.03 kB / 483.9 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.1444, allocations: 20.62 kB / 484 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.1447, allocations: 196.1 kB / 484.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.1447, allocations: 4.375 kB / 484.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.1447, allocations: 4.375 kB / 484.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.1449, allocations: 57.8 kB / 484.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.1449, allocations: 0 / 484.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.1449, allocations: 4 kB / 484.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.1449, allocations: 0 / 484.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.956e-05/0.145, allocations: 31.97 kB / 484.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004308/0.1455, allocations: 296.8 kB / 484.5 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.1456, allocations: 50.55 kB / 484.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.357e-05/0.1457, allocations: 20.94 kB / 484.6 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.1457, allocations: 4 kB / 484.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.1457, allocations: 30.56 kB / 484.6 MB, free: 1.176 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1457, allocations: 3.938 kB / 484.6 MB, free: 1.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009338/0.1467, allocations: 241 kB / 484.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.1467, allocations: 55.41 kB / 484.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.1469, allocations: 203.3 kB / 485.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.147, allocations: 29.7 kB / 485.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.95e-05/0.147, allocations: 100.1 kB / 485.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.1471, allocations: 35.61 kB / 485.3 MB, free: 488 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.1471, allocations: 21.72 kB / 485.3 MB, free: 460 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.1472, allocations: 322.8 kB / 485.6 MB, free: 128 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.652e-05/0.1473, allocations: 35.97 kB / 485.7 MB, free: 92 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.007e-05/0.1474, allocations: 28 kB / 485.7 MB, free: 64 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.1476, allocations: 72.89 kB / 485.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1476, allocations: 0 / 485.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002141/0.1479, allocations: 109.5 kB / 485.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1479, allocations: 6.344 kB / 485.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1479, allocations: 4 kB / 485.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.1479, allocations: 4 kB / 485.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.148, allocations: 19.92 kB / 485.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1481, allocations: 4.25 kB / 485.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.457e-05/0.1481, allocations: 11.92 kB / 485.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.1481, allocations: 8 kB / 485.9 MB, free: 15.82 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 (8): * Single equations (assignments): 8 * 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.513e-05/0.1482, allocations: 117.8 kB / 486 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.1483, allocations: 11.81 kB / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003884/0.1487, allocations: 146.9 kB / 486.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1487, allocations: 0 / 486.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.1487, allocations: 4 kB / 486.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/0.1487, allocations: 7.938 kB / 486.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005864/0.1493, allocations: 411.3 kB / 486.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.1493, allocations: 4 kB / 486.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.682e-05/0.1494, allocations: 15.98 kB / 486.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.1494, allocations: 3.938 kB / 486.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.1494, allocations: 4 kB / 486.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.1494, allocations: 0 / 486.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1494, allocations: 0 / 486.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/0.1497, allocations: 228.1 kB / 486.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.962e-05/0.1498, allocations: 88.95 kB / 487 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.1498, allocations: 4 kB / 487 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-05/0.1499, allocations: 7.984 kB / 487 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.1499, allocations: 4 kB / 487 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.1499, allocations: 4 kB / 487 MB, free: 14.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001177/0.1501, allocations: 151.9 kB / 487.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1501, allocations: 0 / 487.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000263/0.1503, allocations: 24 kB / 487.1 MB, free: 14.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001138/0.1515, allocations: 457.1 kB / 487.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002468/0.1518, allocations: 75.95 kB / 487.7 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1518, allocations: 0 / 487.7 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.247e-05/0.1519, allocations: 39.92 kB / 487.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.1523, allocations: 20.3 kB / 487.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005704/0.1528, allocations: 296.9 kB / 488 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.1532, allocations: 0.7002 MB / 488.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.841e-05/0.1532, allocations: 15.44 kB / 488.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of SimCode: time 8.61e-07/0.1532, allocations: 0 / 488.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of Templates: time 0.003587/0.1568, allocations: 1.798 MB / 490.5 MB, free: 11.21 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches