Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001224/0.001224, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001248/0.001248, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 227.4 MB / 247.1 MB, free: 10.67 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2436/0.2436, allocations: 46.12 MB / 344.5 MB, free: 11.69 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 80.17 kB / 417.8 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1474, allocations: 62.45 MB / 480.2 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003715/0.1512, allocations: 1.657 MB / 481.9 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.1525, allocations: 0.5494 MB / 482.4 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.423e-05/0.1525, allocations: 0 / 482.4 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002622/0.1528, allocations: 23.91 kB / 482.5 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002665/0.1531, allocations: 59.83 kB / 482.5 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.1534, allocations: 87.16 kB / 482.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.1536, allocations: 67.89 kB / 482.7 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.1537, allocations: 12 kB / 482.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.592e-05/0.1538, allocations: 39.78 kB / 482.7 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.921e-05/0.1539, allocations: 31.84 kB / 482.7 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.1539, allocations: 4 kB / 482.7 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001875/0.1541, allocations: 99.88 kB / 482.8 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.528e-05/0.1542, allocations: 19.91 kB / 482.9 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.392e-05/0.1542, allocations: 19.88 kB / 482.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.1545, allocations: 111.8 kB / 483 MB, free: 2.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.287e-06/0.1545, allocations: 7.938 kB / 483 MB, free: 2.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1545, allocations: 4 kB / 483 MB, free: 2.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.1545, allocations: 0 / 483 MB, free: 2.754 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006514/0.1552, allocations: 411.3 kB / 483.4 MB, free: 2.305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.1552, allocations: 8.031 kB / 483.4 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.374e-05/0.1553, allocations: 8.844 kB / 483.4 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.1556, allocations: 194.8 kB / 483.6 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.1556, allocations: 8.312 kB / 483.6 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.1556, allocations: 384 / 483.6 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.1558, allocations: 75.52 kB / 483.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1558, allocations: 0 / 483.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.1558, allocations: 4 kB / 483.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1558, allocations: 0 / 483.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.156, allocations: 27.97 kB / 483.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005087/0.1565, allocations: 312.7 kB / 484 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.1566, allocations: 50.56 kB / 484.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.586e-05/0.1567, allocations: 28.97 kB / 484.1 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.1567, allocations: 0 / 484.1 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.1568, allocations: 38.55 kB / 484.1 MB, free: 1.445 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.1568, allocations: 0 / 484.1 MB, free: 1.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006773/0.1575, allocations: 189.2 kB / 484.3 MB, free: 1.254 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.072e-05/0.1575, allocations: 77.11 kB / 484.4 MB, free: 1.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.1578, allocations: 154.1 kB / 484.6 MB, free: 1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.1578, allocations: 29.7 kB / 484.6 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.489e-05/0.1579, allocations: 88.14 kB / 484.7 MB, free: 0.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.1579, allocations: 31.55 kB / 484.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.005e-05/0.158, allocations: 33.66 kB / 484.7 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1582, allocations: 326.8 kB / 485.1 MB, free: 488 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.1583, allocations: 27.97 kB / 485.1 MB, free: 460 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.506e-05/0.1584, allocations: 41.7 kB / 485.1 MB, free: 412 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.1586, allocations: 76.94 kB / 485.2 MB, free: 332 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1586, allocations: 4.031 kB / 485.2 MB, free: 328 kB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000235/0.1588, allocations: 121.4 kB / 485.3 MB, free: 200 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1588, allocations: 8 kB / 485.3 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1589, allocations: 0 / 485.3 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1589, allocations: 0 / 485.3 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.159, allocations: 19.98 kB / 485.4 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.159, allocations: 3.938 kB / 485.4 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.813e-05/0.1591, allocations: 7.984 kB / 485.4 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.1591, allocations: 0 / 485.4 MB, free: 160 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 (9): * Single equations (assignments): 9 * 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.0001151/0.1592, allocations: 129.8 kB / 485.5 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.1592, allocations: 7.906 kB / 485.5 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002986/0.1595, allocations: 110.4 kB / 485.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1596, allocations: 0 / 485.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.1596, allocations: 3.984 kB / 485.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.1596, allocations: 0 / 485.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005538/0.1601, allocations: 402.2 kB / 486 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1601, allocations: 0 / 486 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.114e-05/0.1602, allocations: 23.92 kB / 486 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1602, allocations: 0 / 486 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.1602, allocations: 3.938 kB / 486 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1603, allocations: 0 / 486 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1603, allocations: 7.984 kB / 486 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.1606, allocations: 199.4 kB / 486.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.601e-05/0.1606, allocations: 85.02 kB / 486.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.1607, allocations: 3.938 kB / 486.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.365e-05/0.1608, allocations: 7.984 kB / 486.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.1608, allocations: 4 kB / 486.3 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.1608, allocations: 4.375 kB / 486.3 MB, free: 15.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001171/0.1609, allocations: 125.5 kB / 486.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1609, allocations: 0 / 486.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003097/0.1612, allocations: 39.98 kB / 486.5 MB, free: 14.92 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 (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.001758/0.163, allocations: 0.4956 MB / 487 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002628/0.1633, allocations: 75.94 kB / 487.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1633, allocations: 0 / 487.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.284e-05/0.1634, allocations: 43.92 kB / 487.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.1638, allocations: 19.92 kB / 487.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005286/0.1643, allocations: 243.6 kB / 487.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.1647, allocations: 0.6963 MB / 488.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.078e-05/0.1648, allocations: 23.36 kB / 488.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1648, allocations: 0 / 488.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of Templates: time 0.00461/0.1694, allocations: 2.161 MB / 490.2 MB, free: 11.27 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches