Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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) 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001583/0.001583, allocations: 105.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001678/0.001679, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 59.84 kB / 307.1 MB, free: 0.5117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1583, allocations: 50.53 MB / 357.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.004491/0.1628, allocations: 1.863 MB / 359.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.1647, allocations: 0.7013 MB / 360.1 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001978/0.165, allocations: 4 kB / 360.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002233/0.1653, allocations: 19.73 kB / 360.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000172/0.1654, allocations: 23.8 kB / 360.2 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006285/0.1661, allocations: 111.7 kB / 360.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.1663, allocations: 143.6 kB / 360.4 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003272/0.1667, allocations: 61.69 kB / 360.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002325/0.1669, allocations: 63.73 kB / 360.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.1671, allocations: 59.62 kB / 360.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.41e-05/0.1671, allocations: 12 kB / 360.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.986e-05/0.1672, allocations: 16 kB / 360.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.912e-05/0.1673, allocations: 27.92 kB / 360.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.1674, allocations: 67.48 kB / 360.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.1677, allocations: 139.8 kB / 360.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.1677, allocations: 0 / 360.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1677, allocations: 0 / 360.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.138e-06/0.1678, allocations: 0 / 360.9 MB, free: 10.66 MB / 302.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.0006984/0.1685, allocations: 458.8 kB / 361.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.1685, allocations: 16.03 kB / 361.3 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.599e-05/0.1686, allocations: 34.75 kB / 361.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.1688, allocations: 28.73 kB / 361.4 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.1691, allocations: 240.8 kB / 361.6 MB, free: 9.805 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.1691, allocations: 11.94 kB / 361.7 MB, free: 9.793 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.1691, allocations: 8 kB / 361.7 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006082/0.1698, allocations: 289.8 kB / 361.9 MB, free: 9.477 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1698, allocations: 3.938 kB / 361.9 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.1698, allocations: 4 kB / 362 MB, free: 9.469 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.1698, allocations: 11.98 kB / 362 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/0.17, allocations: 67.89 kB / 362 MB, free: 9.391 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005667/0.1706, allocations: 435.4 kB / 362.5 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005098/0.1711, allocations: 294.1 kB / 362.7 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002242/0.1714, allocations: 108.3 kB / 362.8 MB, free: 8.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.664e-05/0.1714, allocations: 7.938 kB / 362.9 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/0.1715, allocations: 42.55 kB / 362.9 MB, free: 8.371 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.1715, allocations: 0 / 362.9 MB, free: 8.371 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006627/0.1722, allocations: 221.5 kB / 363.1 MB, free: 8.148 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001872/0.1723, allocations: 200.3 kB / 363.3 MB, free: 7.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.1726, allocations: 186.2 kB / 363.5 MB, free: 7.715 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.1726, allocations: 25.7 kB / 363.5 MB, free: 7.684 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.1727, allocations: 104.5 kB / 363.6 MB, free: 7.574 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.1728, allocations: 15.84 kB / 363.6 MB, free: 7.559 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.866e-05/0.1729, allocations: 37.7 kB / 363.7 MB, free: 7.516 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.1731, allocations: 322.8 kB / 364 MB, free: 7.191 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.752e-05/0.1731, allocations: 31.98 kB / 364 MB, free: 7.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.1733, allocations: 143.3 kB / 364.2 MB, free: 6.965 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/0.1736, allocations: 166.4 kB / 364.3 MB, free: 6.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.1736, allocations: 4 kB / 364.3 MB, free: 6.746 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002994/0.1739, allocations: 173.4 kB / 364.5 MB, free: 6.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.174, allocations: 4 kB / 364.5 MB, free: 6.566 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.174, allocations: 4 kB / 364.5 MB, free: 6.562 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.174, allocations: 8 kB / 364.5 MB, free: 6.555 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.1741, allocations: 39.92 kB / 364.5 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.1742, allocations: 7.938 kB / 364.6 MB, free: 6.508 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.1743, allocations: 15.89 kB / 364.6 MB, free: 6.492 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.1743, allocations: 8.344 kB / 364.6 MB, free: 6.484 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.0001384/0.1744, allocations: 145.7 kB / 364.7 MB, free: 6.332 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003195/0.1748, allocations: 153.3 kB / 364.9 MB, free: 6.176 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.243e-05/0.1748, allocations: 17.41 kB / 364.9 MB, free: 6.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1748, allocations: 4.234 kB / 364.9 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.1748, allocations: 3.938 kB / 364.9 MB, free: 6.152 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.1749, allocations: 11.97 kB / 364.9 MB, free: 6.141 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002991/0.1752, allocations: 217.5 kB / 365.1 MB, free: 5.879 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1752, allocations: 4.031 kB / 365.1 MB, free: 5.875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.1753, allocations: 43.84 kB / 365.2 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/0.1753, allocations: 4 kB / 365.2 MB, free: 5.828 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.1754, allocations: 4 kB / 365.2 MB, free: 5.824 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.1754, allocations: 7.984 kB / 365.2 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.165e-06/0.1754, allocations: 3.938 kB / 365.2 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004507/0.1758, allocations: 365 kB / 365.5 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.1759, allocations: 116.8 kB / 365.7 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.176, allocations: 4 kB / 365.7 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.1761, allocations: 11.98 kB / 365.7 MB, free: 5.281 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.1762, allocations: 7.938 kB / 365.7 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.1762, allocations: 12 kB / 365.7 MB, free: 5.262 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001226/0.1763, allocations: 132.4 kB / 365.8 MB, free: 5.133 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1763, allocations: 0 / 365.8 MB, free: 5.133 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000328/0.1767, allocations: 24 kB / 365.8 MB, free: 5.109 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.0009817/0.1777, allocations: 0.9557 MB / 366.8 MB, free: 4.121 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003333/0.178, allocations: 138.4 kB / 366.9 MB, free: 3.988 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.178, allocations: 0 / 366.9 MB, free: 3.988 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.56e-05/0.1781, allocations: 11.98 kB / 366.9 MB, free: 3.977 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007713/0.1788, allocations: 105.1 kB / 367 MB, free: 3.875 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.1804, allocations: 0.9368 MB / 368 MB, free: 2.816 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.1807, allocations: 0.7241 MB / 368.7 MB, free: 2.066 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.337e-05/0.1808, allocations: 17.55 kB / 368.7 MB, free: 2.051 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.106e-05/0.1809, allocations: 39.61 kB / 368.8 MB, free: 2.016 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1809, allocations: 0 / 368.8 MB, free: 2.016 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2112/0.3921, allocations: 3.401 MB / 372.2 MB, free: 19.58 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.359/8.751, allocations: 6.328 kB / 372.2 MB, free: 19.58 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches