Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.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.CombiTable1Ds.Test27,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.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.CombiTable1Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001167/0.001168, allocations: 103.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001503/0.001503, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2131/0.2131, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 77.56 kB / 417.6 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1287, allocations: 62.45 MB / 480 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.003086/0.1318, allocations: 1.611 MB / 481.6 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009259/0.1328, allocations: 0.5338 MB / 482.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.454e-05/0.1329, allocations: 0 / 482.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002894/0.1332, allocations: 131.7 kB / 482.3 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.1335, allocations: 131.5 kB / 482.4 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.1337, allocations: 87.7 kB / 482.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.1339, allocations: 87.86 kB / 482.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.134, allocations: 15.98 kB / 482.6 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.257e-05/0.1341, allocations: 51.83 kB / 482.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.1342, allocations: 83.8 kB / 482.7 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.1342, allocations: 0 / 482.7 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.483e-05/0.1343, allocations: 55.91 kB / 482.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.027e-05/0.1344, allocations: 27.84 kB / 482.8 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.361e-05/0.1345, allocations: 35.69 kB / 482.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.1347, allocations: 119.6 kB / 483 MB, free: 2.281 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1347, allocations: 4 kB / 483 MB, free: 2.277 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1347, allocations: 0 / 483 MB, free: 2.277 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1347, allocations: 4 kB / 483 MB, free: 2.273 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.0004832/0.1352, allocations: 435 kB / 483.4 MB, free: 1.801 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.1352, allocations: 8.031 kB / 483.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/0.1353, allocations: 16.75 kB / 483.4 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.1355, allocations: 204 kB / 483.6 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.1355, allocations: 384 / 483.6 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.1355, allocations: 4.375 kB / 483.6 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.1357, allocations: 57.8 kB / 483.7 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1357, allocations: 7.938 kB / 483.7 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.1357, allocations: 4 kB / 483.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1357, allocations: 0 / 483.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.751e-05/0.1358, allocations: 31.95 kB / 483.7 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/0.1362, allocations: 308.6 kB / 484 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.1363, allocations: 46.56 kB / 484.1 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.907e-05/0.1363, allocations: 24.88 kB / 484.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.1364, allocations: 0 / 484.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.1364, allocations: 34.56 kB / 484.1 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1364, allocations: 0 / 484.1 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008674/0.1373, allocations: 233.2 kB / 484.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.1373, allocations: 63.33 kB / 484.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.1376, allocations: 275.7 kB / 484.7 MB, free: 376 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.1376, allocations: 29.7 kB / 484.7 MB, free: 340 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.555e-05/0.1377, allocations: 116.1 kB / 484.8 MB, free: 220 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.1377, allocations: 27.67 kB / 484.9 MB, free: 192 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.1378, allocations: 25.72 kB / 484.9 MB, free: 160 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1379, allocations: 326.8 kB / 485.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.032e-05/0.138, allocations: 23.98 kB / 485.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.995e-05/0.1381, allocations: 27.98 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.1383, allocations: 56.84 kB / 485.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1383, allocations: 0 / 485.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002129/0.1385, allocations: 105.5 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.1385, allocations: 4 kB / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1385, allocations: 0 / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.1385, allocations: 0 / 485.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.1386, allocations: 19.98 kB / 485.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1387, allocations: 0 / 485.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.046e-05/0.1387, allocations: 15.92 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.1387, allocations: 0 / 485.5 MB, free: 15.57 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 0.000101/0.1388, allocations: 137.8 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.1389, allocations: 15.81 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.1392, allocations: 127.2 kB / 485.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1392, allocations: 0 / 485.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1392, allocations: 0 / 485.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1392, allocations: 3.938 kB / 485.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004954/0.1397, allocations: 427.3 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1397, allocations: 3.938 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.602e-05/0.1398, allocations: 12 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.1398, allocations: 7.938 kB / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.1398, allocations: 3.984 kB / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1398, allocations: 0 / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1398, allocations: 7.938 kB / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.1401, allocations: 220.2 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.903e-05/0.1401, allocations: 92.86 kB / 486.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.1402, allocations: 4 kB / 486.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.329e-05/0.1402, allocations: 4 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.1403, allocations: 7.984 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-06/0.1403, allocations: 0 / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001627/0.1405, allocations: 217.5 kB / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1405, allocations: 0 / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.1407, allocations: 20 kB / 486.7 MB, free: 14.18 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.0009682/0.1417, allocations: 448.5 kB / 487.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002097/0.1419, allocations: 71.89 kB / 487.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1419, allocations: 0 / 487.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.151e-05/0.142, allocations: 39.92 kB / 487.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.1424, allocations: 14.94 kB / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005044/0.1429, allocations: 308.3 kB / 487.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.1432, allocations: 0.7197 MB / 488.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.769e-05/0.1432, allocations: 12.97 kB / 488.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.1433, allocations: 19.42 kB / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1433, allocations: 0 / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of Templates: time 0.003939/0.1472, allocations: 1.384 MB / 489.7 MB, free: 11.28 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches