Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test26,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_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test26,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_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 101.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 194 kB / 18.77 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 242.4 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2185/0.2185, allocations: 44.18 MB / 336.8 MB, free: 3.008 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 64.77 kB / 408.4 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1509, allocations: 60.83 MB / 469.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.004366/0.1553, allocations: 1.637 MB / 470.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.1564, allocations: 415.3 kB / 471.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6e-05/0.1565, allocations: 0 / 471.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003422/0.1569, allocations: 71.83 kB / 471.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.1571, allocations: 59.77 kB / 471.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004249/0.1575, allocations: 102.7 kB / 471.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.1578, allocations: 71.81 kB / 471.5 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.1579, allocations: 16.17 kB / 471.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.341e-05/0.158, allocations: 39.78 kB / 471.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.1582, allocations: 47.89 kB / 471.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.1582, allocations: 4 kB / 471.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.1584, allocations: 43.97 kB / 471.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.086e-05/0.1584, allocations: 15.92 kB / 471.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.055e-05/0.1585, allocations: 31.75 kB / 471.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.1587, allocations: 72.17 kB / 471.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.1587, allocations: 4 kB / 471.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1588, allocations: 0 / 471.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1588, allocations: 0 / 471.8 MB, free: 12.22 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.0006354/0.1594, allocations: 414.9 kB / 472.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.1595, allocations: 12.03 kB / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.556e-05/0.1595, allocations: 8.844 kB / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.1598, allocations: 192.1 kB / 472.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.1598, allocations: 384 / 472.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.1598, allocations: 4.375 kB / 472.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.16, allocations: 61.59 kB / 472.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.1601, allocations: 3.906 kB / 472.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.1601, allocations: 0 / 472.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.1601, allocations: 0 / 472.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.1603, allocations: 31.97 kB / 472.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005818/0.1609, allocations: 300.8 kB / 472.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.161, allocations: 38.66 kB / 472.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.075e-05/0.1611, allocations: 24.84 kB / 472.9 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.1612, allocations: 8 kB / 472.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.1612, allocations: 34.5 kB / 472.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.854e-06/0.1612, allocations: 0 / 472.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001365/0.1626, allocations: 233.5 kB / 473.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.1627, allocations: 55.41 kB / 473.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.163, allocations: 214.1 kB / 473.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.163, allocations: 25.7 kB / 473.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.512e-05/0.1631, allocations: 104 kB / 473.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.449e-05/0.1631, allocations: 35.64 kB / 473.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-05/0.1632, allocations: 17.72 kB / 473.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.1634, allocations: 322.8 kB / 473.9 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.1635, allocations: 31.98 kB / 473.9 MB, free: 9.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.1637, allocations: 35.97 kB / 474 MB, free: 9.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002439/0.1639, allocations: 72.81 kB / 474 MB, free: 9.766 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1639, allocations: 0 / 474 MB, free: 9.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003384/0.1643, allocations: 113.4 kB / 474.1 MB, free: 9.648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.1643, allocations: 7.938 kB / 474.1 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1643, allocations: 4 kB / 474.1 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.1644, allocations: 0 / 474.1 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.1645, allocations: 19.98 kB / 474.2 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.1645, allocations: 3.938 kB / 474.2 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.396e-05/0.1646, allocations: 8 kB / 474.2 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.1646, allocations: 320 / 474.2 MB, free: 9.605 MB / 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.0001318/0.1648, allocations: 130.4 kB / 474.3 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.915e-05/0.1648, allocations: 11.89 kB / 474.3 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000419/0.1653, allocations: 142.2 kB / 474.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.1653, allocations: 0 / 474.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.1653, allocations: 3.938 kB / 474.5 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.237e-06/0.1653, allocations: 0 / 474.5 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007903/0.1661, allocations: 419.2 kB / 474.9 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1661, allocations: 0 / 474.9 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.1662, allocations: 23.92 kB / 474.9 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1663, allocations: 0 / 474.9 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.1663, allocations: 0 / 474.9 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.1663, allocations: 0 / 474.9 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.1663, allocations: 7.938 kB / 474.9 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003791/0.1667, allocations: 212.3 kB / 475.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.178e-05/0.1668, allocations: 92.95 kB / 475.2 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.1668, allocations: 4 kB / 475.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.1669, allocations: 3.984 kB / 475.2 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-05/0.167, allocations: 4 kB / 475.2 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.167, allocations: 4 kB / 475.2 MB, free: 8.457 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001828/0.1672, allocations: 155.2 kB / 475.4 MB, free: 8.305 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1672, allocations: 3.938 kB / 475.4 MB, free: 8.301 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004643/0.1677, allocations: 27.98 kB / 475.4 MB, free: 8.273 MB / 350.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.001616/0.1693, allocations: 457 kB / 475.8 MB, free: 8.008 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003333/0.1697, allocations: 75.95 kB / 475.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1697, allocations: 0 / 475.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.1699, allocations: 39.92 kB / 476 MB, free: 7.895 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005767/0.1705, allocations: 23.92 kB / 476 MB, free: 7.871 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007013/0.1712, allocations: 314.9 kB / 476.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.1715, allocations: 0.7043 MB / 477 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.73e-05/0.1716, allocations: 19.42 kB / 477 MB, free: 6.773 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1716, allocations: 0 / 477 MB, free: 6.773 MB / 350.1 MB Notification: Performance of Templates: time 0.005092/0.1767, allocations: 1.744 MB / 478.8 MB, free: 5.031 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches