Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001513/0.001513, allocations: 105.8 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.001701/0.001701, allocations: 211.8 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.432/1.432, allocations: 227.4 MB / 247.4 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2343/0.2343, allocations: 46.09 MB / 344.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 77.59 kB / 418.3 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1444, allocations: 62.44 MB / 480.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003311/0.1477, allocations: 1.616 MB / 482.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009935/0.1487, allocations: 0.5377 MB / 482.9 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.99e-05/0.1488, allocations: 0 / 482.9 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000301/0.1491, allocations: 103.7 kB / 483 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002879/0.1494, allocations: 103.6 kB / 483.1 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.1497, allocations: 91.7 kB / 483.1 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.1499, allocations: 83.8 kB / 483.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.15, allocations: 16 kB / 483.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.007e-05/0.1501, allocations: 35.84 kB / 483.3 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.1502, allocations: 55.81 kB / 483.3 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.1502, allocations: 4 kB / 483.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.548e-05/0.1503, allocations: 43.98 kB / 483.4 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.14e-05/0.1504, allocations: 31.91 kB / 483.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.781e-05/0.1504, allocations: 31.69 kB / 483.4 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.1506, allocations: 111.6 kB / 483.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1506, allocations: 0 / 483.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1506, allocations: 4 kB / 483.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.1506, allocations: 0 / 483.6 MB, free: 2.406 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.0006637/0.1513, allocations: 423.1 kB / 484 MB, free: 1.945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.1514, allocations: 8.031 kB / 484 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/0.1514, allocations: 12.75 kB / 484 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.1517, allocations: 200.1 kB / 484.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.1517, allocations: 4.375 kB / 484.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.1517, allocations: 384 / 484.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.1519, allocations: 57.81 kB / 484.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.152, allocations: 7.938 kB / 484.2 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.152, allocations: 3.984 kB / 484.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.152, allocations: 0 / 484.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.914e-05/0.1521, allocations: 23.98 kB / 484.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004514/0.1526, allocations: 296.7 kB / 484.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.1527, allocations: 50.48 kB / 484.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.256e-05/0.1527, allocations: 20.94 kB / 484.6 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.1528, allocations: 0 / 484.6 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.1528, allocations: 30.56 kB / 484.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1528, allocations: 3.938 kB / 484.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009604/0.1538, allocations: 233 kB / 484.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/0.1539, allocations: 55.39 kB / 485 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.1541, allocations: 235.1 kB / 485.2 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.1542, allocations: 25.7 kB / 485.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.333e-05/0.1543, allocations: 104.1 kB / 485.3 MB, free: 460 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.764e-05/0.1543, allocations: 27.56 kB / 485.3 MB, free: 432 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.1544, allocations: 25.72 kB / 485.4 MB, free: 400 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002203/0.1546, allocations: 326.8 kB / 485.7 MB, free: 64 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.29e-05/0.1547, allocations: 23.98 kB / 485.7 MB, free: 40 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.936e-05/0.1548, allocations: 28.06 kB / 485.7 MB, free: 12 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.155, allocations: 60.88 kB / 485.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.155, allocations: 4 kB / 485.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002119/0.1552, allocations: 101.6 kB / 485.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.1552, allocations: 8 kB / 485.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1552, allocations: 7.812 kB / 485.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1553, allocations: 0 / 485.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.1554, allocations: 12 kB / 485.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.1554, allocations: 3.984 kB / 485.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.299e-05/0.1554, allocations: 7.938 kB / 485.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.1555, allocations: 8 kB / 485.9 MB, free: 15.79 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.000113/0.1556, allocations: 138.8 kB / 486.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.524e-05/0.1556, allocations: 11.81 kB / 486.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002801/0.1559, allocations: 119 kB / 486.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1559, allocations: 0 / 486.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1559, allocations: 0 / 486.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1559, allocations: 3.938 kB / 486.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005387/0.1565, allocations: 411.2 kB / 486.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1565, allocations: 0 / 486.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.651e-05/0.1566, allocations: 19.92 kB / 486.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.1566, allocations: 3.938 kB / 486.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.1566, allocations: 8 kB / 486.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1566, allocations: 0 / 486.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1566, allocations: 0 / 486.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.1569, allocations: 204.7 kB / 486.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/0.1569, allocations: 96.84 kB / 486.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.157, allocations: 0 / 486.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.815e-05/0.157, allocations: 4 kB / 486.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.1571, allocations: 11.98 kB / 486.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.1571, allocations: 8 kB / 487 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001538/0.1573, allocations: 179.2 kB / 487.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1573, allocations: 0 / 487.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.1575, allocations: 27.92 kB / 487.2 MB, free: 14.46 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.001141/0.1587, allocations: 454.5 kB / 487.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002387/0.1589, allocations: 63.91 kB / 487.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1589, allocations: 0 / 487.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.878e-05/0.159, allocations: 35.97 kB / 487.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.1594, allocations: 27.3 kB / 487.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005695/0.16, allocations: 308.5 kB / 488 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005068/0.1605, allocations: 0.7158 MB / 488.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/0.1606, allocations: 15.42 kB / 488.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1606, allocations: 0 / 488.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of Templates: time 0.003661/0.1642, allocations: 1.796 MB / 490.6 MB, free: 11.16 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches