Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001304/0.001304, allocations: 115.1 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001568/0.001568, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 246.4 MB, free: 10.84 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2299/0.2299, allocations: 46.09 MB / 343.8 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 76.72 kB / 417 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.128, allocations: 62.44 MB / 479.5 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003069/0.1311, allocations: 1.672 MB / 481.2 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009068/0.132, allocations: 0.5339 MB / 481.7 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.611e-05/0.1321, allocations: 0 / 481.7 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003488/0.1325, allocations: 63.84 kB / 481.8 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002768/0.1328, allocations: 99.7 kB / 481.9 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.133, allocations: 71.86 kB / 481.9 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.1332, allocations: 79.88 kB / 482 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.1333, allocations: 23.92 kB / 482 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.594e-05/0.1334, allocations: 35.84 kB / 482.1 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.1335, allocations: 43.84 kB / 482.1 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.1335, allocations: 4 kB / 482.1 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.604e-05/0.1336, allocations: 47.97 kB / 482.2 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.612e-05/0.1337, allocations: 19.92 kB / 482.2 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.976e-05/0.1337, allocations: 27.75 kB / 482.2 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.1339, allocations: 107.7 kB / 482.3 MB, free: 2.816 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1339, allocations: 3.938 kB / 482.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.134, allocations: 0 / 482.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.134, allocations: 0 / 482.3 MB, free: 2.812 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.0004836/0.1345, allocations: 403.3 kB / 482.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.1345, allocations: 12.03 kB / 482.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.1345, allocations: 16.73 kB / 482.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.1348, allocations: 196.1 kB / 482.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.1348, allocations: 8.312 kB / 482.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.1348, allocations: 8.375 kB / 482.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.1349, allocations: 57.8 kB / 483 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.135, allocations: 0 / 483 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.135, allocations: 3.938 kB / 483 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.135, allocations: 0 / 483 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.616e-05/0.1351, allocations: 31.95 kB / 483 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.1355, allocations: 292.8 kB / 483.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.1356, allocations: 46.5 kB / 483.4 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.936e-05/0.1357, allocations: 20.94 kB / 483.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.1357, allocations: 0 / 483.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.1357, allocations: 30.56 kB / 483.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.1357, allocations: 0 / 483.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008922/0.1366, allocations: 233 kB / 483.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.1367, allocations: 51.41 kB / 483.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.1369, allocations: 205.9 kB / 483.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.1369, allocations: 29.7 kB / 483.9 MB, free: 1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.086e-05/0.137, allocations: 104.1 kB / 484 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.137, allocations: 35.48 kB / 484.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.849e-05/0.1371, allocations: 17.72 kB / 484.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.1372, allocations: 322.8 kB / 484.4 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.86e-05/0.1373, allocations: 27.98 kB / 484.4 MB, free: 496 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.167e-05/0.1373, allocations: 19.98 kB / 484.4 MB, free: 476 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.1375, allocations: 68.77 kB / 484.5 MB, free: 404 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1375, allocations: 0 / 484.5 MB, free: 404 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002093/0.1377, allocations: 105.5 kB / 484.6 MB, free: 292 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.1377, allocations: 4 kB / 484.6 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1378, allocations: 0 / 484.6 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.1378, allocations: 0 / 484.6 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.1379, allocations: 19.98 kB / 484.6 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.1379, allocations: 0 / 484.6 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.465e-05/0.138, allocations: 7.938 kB / 484.6 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.138, allocations: 7.938 kB / 484.6 MB, free: 252 kB / 350.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.0001015/0.1381, allocations: 129.8 kB / 484.8 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.53e-05/0.1381, allocations: 15.81 kB / 484.8 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002745/0.1384, allocations: 115.4 kB / 484.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1384, allocations: 0 / 484.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1384, allocations: 0 / 484.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1384, allocations: 3.938 kB / 484.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004875/0.1389, allocations: 407.2 kB / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1389, allocations: 0 / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.225e-05/0.139, allocations: 23.92 kB / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.139, allocations: 7.938 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.139, allocations: 0 / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1391, allocations: 4 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1391, allocations: 4.031 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.1393, allocations: 200.2 kB / 485.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/0.1394, allocations: 88.95 kB / 485.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.1394, allocations: 7.984 kB / 485.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.212e-05/0.1395, allocations: 4 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.1395, allocations: 8 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.1395, allocations: 3.984 kB / 485.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001132/0.1396, allocations: 157.8 kB / 485.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1396, allocations: 0 / 485.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002486/0.1399, allocations: 23.98 kB / 485.8 MB, free: 14.96 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.001029/0.1409, allocations: 453.4 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002116/0.1412, allocations: 71.88 kB / 486.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1412, allocations: 0 / 486.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.788e-05/0.1413, allocations: 31.98 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.1417, allocations: 27.05 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005334/0.1422, allocations: 279.2 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.1426, allocations: 0.7057 MB / 487.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.837e-05/0.1427, allocations: 16.95 kB / 487.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.1427, allocations: 15.44 kB / 487.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1427, allocations: 3.938 kB / 487.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of Templates: time 0.003954/0.1467, allocations: 1.314 MB / 488.7 MB, free: 12.17 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches