Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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) 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 110.2 kB / 16.92 MB, free: 5.785 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.00152/0.00152, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.778/1.778, allocations: 222.9 MB / 241.6 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001043/0.001043, allocations: 46.64 kB / 300.7 MB, free: 5.773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1481, allocations: 49.44 MB / 350.2 MB, free: 4.32 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.004518/0.1527, allocations: 1.847 MB / 352 MB, free: 2.449 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.1541, allocations: 0.6306 MB / 352.6 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.1543, allocations: 11.94 kB / 352.7 MB, free: 1.809 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001699/0.1545, allocations: 23.73 kB / 352.7 MB, free: 1.785 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.1546, allocations: 23.78 kB / 352.7 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003749/0.155, allocations: 95.78 kB / 352.8 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.1553, allocations: 143.6 kB / 352.9 MB, free: 1.527 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.1555, allocations: 57.72 kB / 353 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.1556, allocations: 55.7 kB / 353.1 MB, free: 1.414 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.1558, allocations: 51.72 kB / 353.1 MB, free: 1.363 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.423e-05/0.1558, allocations: 12 kB / 353.1 MB, free: 1.352 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.755e-05/0.1558, allocations: 8 kB / 353.1 MB, free: 1.344 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.686e-05/0.1559, allocations: 31.86 kB / 353.2 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.563e-05/0.156, allocations: 63.55 kB / 353.2 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.1562, allocations: 143.5 kB / 353.4 MB, free: 1.109 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/0.1563, allocations: 4 kB / 353.4 MB, free: 1.105 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1563, allocations: 0 / 353.4 MB, free: 1.105 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1563, allocations: 0 / 353.4 MB, free: 1.105 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007484/0.157, allocations: 451.1 kB / 353.8 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.1571, allocations: 12.03 kB / 353.8 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.713e-05/0.1571, allocations: 38.75 kB / 353.8 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.987e-05/0.1572, allocations: 16.75 kB / 353.9 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.1576, allocations: 241.8 kB / 354.1 MB, free: 272 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.1576, allocations: 7.938 kB / 354.1 MB, free: 264 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.1576, allocations: 8 kB / 354.1 MB, free: 256 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006932/0.1583, allocations: 290.8 kB / 354.4 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.1583, allocations: 0 / 354.4 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.1584, allocations: 7.938 kB / 354.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.1584, allocations: 0 / 354.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/0.1586, allocations: 79.83 kB / 354.5 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006147/0.1592, allocations: 431.4 kB / 354.9 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005324/0.1598, allocations: 294.1 kB / 355.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/0.16, allocations: 112.4 kB / 355.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.149e-05/0.16, allocations: 11.92 kB / 355.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/0.1601, allocations: 42.55 kB / 355.4 MB, free: 14.83 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.1601, allocations: 0 / 355.4 MB, free: 14.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005847/0.1607, allocations: 213.2 kB / 355.6 MB, free: 14.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001516/0.1608, allocations: 203.8 kB / 355.8 MB, free: 14.37 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.161, allocations: 179.5 kB / 355.9 MB, free: 14.19 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.1611, allocations: 33.7 kB / 356 MB, free: 14.15 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.016e-05/0.1612, allocations: 100.5 kB / 356.1 MB, free: 14.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.1612, allocations: 19.75 kB / 356.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.609e-05/0.1613, allocations: 37.7 kB / 356.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1614, allocations: 326.8 kB / 356.4 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.44e-05/0.1615, allocations: 23.98 kB / 356.5 MB, free: 13.63 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.1617, allocations: 139.4 kB / 356.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.1619, allocations: 166.4 kB / 356.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.1619, allocations: 8 kB / 356.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002846/0.1622, allocations: 177.6 kB / 356.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1622, allocations: 4 kB / 357 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.1622, allocations: 8.031 kB / 357 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.1623, allocations: 8 kB / 357 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.1624, allocations: 35.92 kB / 357 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.1624, allocations: 7.938 kB / 357 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.957e-05/0.1625, allocations: 15.89 kB / 357 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.1625, allocations: 12 kB / 357 MB, free: 12.95 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001324/0.1627, allocations: 141.8 kB / 357.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002995/0.163, allocations: 149.4 kB / 357.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.171e-05/0.1631, allocations: 17.41 kB / 357.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-06/0.1631, allocations: 4 kB / 357.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.1631, allocations: 3.938 kB / 357.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.1631, allocations: 11.92 kB / 357.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.1634, allocations: 213.6 kB / 357.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1634, allocations: 0 / 357.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.1636, allocations: 39.91 kB / 357.6 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1636, allocations: 4 kB / 357.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.1636, allocations: 8.031 kB / 357.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.1636, allocations: 4 kB / 357.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.1636, allocations: 3.938 kB / 357.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004297/0.1641, allocations: 361 kB / 358 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.978e-05/0.1642, allocations: 108.8 kB / 358.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.1642, allocations: 8 kB / 358.1 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.1644, allocations: 15.92 kB / 358.1 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.1644, allocations: 7.938 kB / 358.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.1644, allocations: 12 kB / 358.1 MB, free: 11.74 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.1646, allocations: 133.2 kB / 358.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1646, allocations: 0 / 358.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003164/0.1649, allocations: 24 kB / 358.3 MB, free: 11.59 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.001013/0.1659, allocations: 0.9561 MB / 359.2 MB, free: 10.6 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003384/0.1663, allocations: 135.2 kB / 359.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.291e-06/0.1663, allocations: 4.312 kB / 359.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.417e-05/0.1663, allocations: 11.98 kB / 359.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007362/0.1671, allocations: 108.7 kB / 359.5 MB, free: 10.35 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.1686, allocations: 0.9135 MB / 360.4 MB, free: 9.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.1689, allocations: 0.728 MB / 361.1 MB, free: 8.566 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.599e-05/0.169, allocations: 17.55 kB / 361.2 MB, free: 8.547 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.135e-05/0.1691, allocations: 39.42 kB / 361.2 MB, free: 8.508 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1691, allocations: 4 kB / 361.2 MB, free: 8.504 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.1936, allocations: 3.377 MB / 364.6 MB, free: 5.273 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.224/9.418, allocations: 7.844 kB / 364.6 MB, free: 5.266 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches