Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001395/0.001395, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001583/0.001583, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 227.4 MB / 246.3 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2455/0.2455, allocations: 46.12 MB / 343.7 MB, free: 11.73 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 80.8 kB / 416.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1345, allocations: 62.46 MB / 479.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.00328/0.1378, allocations: 1.649 MB / 481 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.1397, allocations: 1.152 MB / 482.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.979e-05/0.1398, allocations: 0 / 482.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.14, allocations: 27.86 kB / 482.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002339/0.1403, allocations: 63.83 kB / 482.3 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000289/0.1406, allocations: 95.81 kB / 482.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.1407, allocations: 67.78 kB / 482.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1409, allocations: 11.98 kB / 482.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.643e-05/0.1409, allocations: 31.84 kB / 482.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.1411, allocations: 27.86 kB / 482.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.1411, allocations: 0 / 482.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.1413, allocations: 87.94 kB / 482.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.612e-05/0.1414, allocations: 19.91 kB / 482.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.98e-05/0.1414, allocations: 23.81 kB / 482.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.1417, allocations: 139.7 kB / 482.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1417, allocations: 0 / 482.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1417, allocations: 0 / 482.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1417, allocations: 0 / 482.8 MB, free: 2.227 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.0005773/0.1423, allocations: 395.5 kB / 483.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.1424, allocations: 12.88 kB / 483.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.1424, allocations: 4.922 kB / 483.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.1427, allocations: 196.1 kB / 483.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.1427, allocations: 8.359 kB / 483.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.1427, allocations: 384 / 483.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.1429, allocations: 75.47 kB / 483.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1429, allocations: 0 / 483.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1429, allocations: 0 / 483.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.1429, allocations: 0 / 483.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.143, allocations: 31.95 kB / 483.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004487/0.1435, allocations: 288.8 kB / 483.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/0.1437, allocations: 46.5 kB / 483.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.966e-05/0.1438, allocations: 20.94 kB / 483.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.1438, allocations: 0 / 483.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.1439, allocations: 34.56 kB / 483.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.1439, allocations: 0 / 483.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006104/0.1445, allocations: 157.2 kB / 484 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.1445, allocations: 77.11 kB / 484.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.1447, allocations: 144.2 kB / 484.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.1447, allocations: 25.7 kB / 484.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.223e-05/0.1448, allocations: 104.1 kB / 484.4 MB, free: 440 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.1448, allocations: 15.72 kB / 484.4 MB, free: 424 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.1449, allocations: 17.72 kB / 484.4 MB, free: 400 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.1451, allocations: 322.8 kB / 484.7 MB, free: 68 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.036e-05/0.1452, allocations: 19.98 kB / 484.7 MB, free: 48 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.1453, allocations: 45.7 kB / 484.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.1454, allocations: 48.86 kB / 484.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1455, allocations: 0 / 484.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002117/0.1457, allocations: 85.66 kB / 484.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1457, allocations: 4 kB / 484.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1457, allocations: 0 / 484.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.1457, allocations: 0 / 484.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.242e-05/0.1458, allocations: 12 kB / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.1458, allocations: 3.984 kB / 484.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.772e-05/0.1459, allocations: 8 kB / 484.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.1459, allocations: 7.938 kB / 484.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 (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 0.0001077/0.146, allocations: 117.8 kB / 485.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.801e-05/0.146, allocations: 7.906 kB / 485.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002699/0.1463, allocations: 98.27 kB / 485.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.1463, allocations: 4 kB / 485.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1463, allocations: 0 / 485.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1464, allocations: 4 kB / 485.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005451/0.1469, allocations: 366.2 kB / 485.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1469, allocations: 4 kB / 485.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.311e-05/0.147, allocations: 11.98 kB / 485.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.147, allocations: 3.938 kB / 485.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.383e-06/0.147, allocations: 0 / 485.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.962e-06/0.147, allocations: 7.938 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.147, allocations: 0 / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.1473, allocations: 187.4 kB / 485.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.822e-05/0.1474, allocations: 81.11 kB / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.1474, allocations: 0 / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.864e-05/0.1475, allocations: 11.92 kB / 485.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.1475, allocations: 8 kB / 485.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.1475, allocations: 0 / 485.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001075/0.1477, allocations: 119.2 kB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1477, allocations: 0 / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002977/0.148, allocations: 39.98 kB / 486 MB, free: 14.66 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.001742/0.1497, allocations: 491.8 kB / 486.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002218/0.15, allocations: 55.95 kB / 486.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.15, allocations: 0 / 486.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.148e-05/0.1501, allocations: 35.92 kB / 486.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.1505, allocations: 22.94 kB / 486.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004478/0.1509, allocations: 183.2 kB / 486.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.1513, allocations: 0.6965 MB / 487.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.02e-05/0.1514, allocations: 11.98 kB / 487.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.1514, allocations: 19.42 kB / 487.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1514, allocations: 0 / 487.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of Templates: time 0.004867/0.1563, allocations: 1.735 MB / 489.2 MB, free: 11.54 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches