Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008605/0.0008606, allocations: 89.75 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009746/0.0009747, allocations: 202.4 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.7 MB / 246.8 MB, free: 11.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2445/0.2445, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003172/0.0003172, allocations: 15.92 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.135, allocations: 63.56 MB / 483.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002237/0.1373, allocations: 1.31 MB / 484.4 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.1387, allocations: 0.5185 MB / 484.9 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.02e-05/0.1388, allocations: 0 / 484.9 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002704/0.1391, allocations: 31.91 kB / 485 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00028/0.1394, allocations: 55.77 kB / 485 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.1398, allocations: 103.8 kB / 485.1 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.14, allocations: 55.91 kB / 485.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1401, allocations: 15.92 kB / 485.2 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.751e-05/0.1402, allocations: 27.86 kB / 485.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.424e-05/0.1402, allocations: 15.86 kB / 485.2 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.1403, allocations: 4 kB / 485.2 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.566e-05/0.1404, allocations: 31.98 kB / 485.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.956e-05/0.1404, allocations: 7.984 kB / 485.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.899e-05/0.1405, allocations: 45.52 kB / 485.3 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.1406, allocations: 79.78 kB / 485.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1407, allocations: 0 / 485.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1407, allocations: 3.938 kB / 485.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1407, allocations: 0 / 485.4 MB, free: 1.816 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004802/0.1412, allocations: 379.5 kB / 485.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.1412, allocations: 8.875 kB / 485.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/0.1413, allocations: 8.844 kB / 485.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.1415, allocations: 194.5 kB / 486 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.1415, allocations: 4.375 kB / 486 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.1415, allocations: 384 / 486 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.1417, allocations: 53.81 kB / 486 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1417, allocations: 0 / 486 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1417, allocations: 8 kB / 486 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.1417, allocations: 0 / 486 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.1418, allocations: 31.91 kB / 486.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000411/0.1423, allocations: 276.9 kB / 486.3 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.1425, allocations: 54.55 kB / 486.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.78e-05/0.1426, allocations: 16.86 kB / 486.4 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.1426, allocations: 7.875 kB / 486.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.1426, allocations: 34.64 kB / 486.4 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1426, allocations: 0 / 486.4 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006986/0.1433, allocations: 173.2 kB / 486.6 MB, free: 436 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.1434, allocations: 55.39 kB / 486.7 MB, free: 368 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.1435, allocations: 150.2 kB / 486.8 MB, free: 204 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.1436, allocations: 29.7 kB / 486.8 MB, free: 168 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.641e-05/0.1436, allocations: 92.12 kB / 486.9 MB, free: 72 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.1437, allocations: 19.72 kB / 487 MB, free: 52 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.1437, allocations: 9.719 kB / 487 MB, free: 36 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002081/0.1439, allocations: 326.8 kB / 487.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.72e-05/0.144, allocations: 27.98 kB / 487.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.053e-05/0.1441, allocations: 23.98 kB / 487.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.1443, allocations: 65 kB / 487.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1443, allocations: 0 / 487.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002283/0.1445, allocations: 101.8 kB / 487.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.1445, allocations: 4 kB / 487.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.1446, allocations: 3.938 kB / 487.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1446, allocations: 0 / 487.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.411e-05/0.1447, allocations: 15.98 kB / 487.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.1447, allocations: 0 / 487.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.177e-05/0.1447, allocations: 15.98 kB / 487.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.1447, allocations: 3.984 kB / 487.5 MB, free: 15.44 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 (5): * Single equations (assignments): 5 * 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.1e-05/0.1448, allocations: 117.8 kB / 487.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.1449, allocations: 7.906 kB / 487.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002844/0.1452, allocations: 117.8 kB / 487.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1452, allocations: 0 / 487.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1452, allocations: 0 / 487.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1452, allocations: 0 / 487.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004784/0.1457, allocations: 362.5 kB / 488.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1457, allocations: 4 kB / 488.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.411e-05/0.1458, allocations: 15.98 kB / 488.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.1458, allocations: 0 / 488.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.1458, allocations: 7.938 kB / 488.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.1458, allocations: 3.938 kB / 488.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1458, allocations: 0 / 488.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.1461, allocations: 191.7 kB / 488.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.086e-05/0.1462, allocations: 89.02 kB / 488.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.1462, allocations: 0 / 488.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.733e-05/0.1463, allocations: 19.92 kB / 488.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.1463, allocations: 0 / 488.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.1463, allocations: 0 / 488.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001582/0.1465, allocations: 125.6 kB / 488.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1465, allocations: 0 / 488.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002482/0.1467, allocations: 20 kB / 488.6 MB, free: 14.28 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 (5): * Single equations (assignments): 5 * 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.000963/0.1477, allocations: 395.5 kB / 489 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002348/0.148, allocations: 67.89 kB / 489 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.148, allocations: 0 / 489 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.801e-05/0.1481, allocations: 28.11 kB / 489.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.1484, allocations: 16.11 kB / 489.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000538/0.1489, allocations: 209.3 kB / 489.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.1493, allocations: 0.7033 MB / 490 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.353e-05/0.1493, allocations: 11.98 kB / 490 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.976e-05/0.1494, allocations: 11.44 kB / 490 MB, free: 12.93 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1494, allocations: 4 kB / 490 MB, free: 12.93 MB / 366.1 MB Notification: Performance of Templates: time 0.003919/0.1533, allocations: 1.071 MB / 491.1 MB, free: 11.86 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches