Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.HoldWithDAeffects1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001237/0.001237, allocations: 106 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.001279/0.001279, 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.594/1.594, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002432/0.002432, allocations: 59.64 kB / 307.1 MB, free: 0.5312 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1517, allocations: 50.53 MB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003925/0.1556, allocations: 1.874 MB / 359.5 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.1576, allocations: 0.6974 MB / 360.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002611/0.1579, allocations: 7.938 kB / 360.2 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001953/0.1581, allocations: 15.8 kB / 360.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.1583, allocations: 27.73 kB / 360.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000619/0.159, allocations: 103.8 kB / 360.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002719/0.1593, allocations: 147.5 kB / 360.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.1595, allocations: 61.7 kB / 360.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002084/0.1597, allocations: 71.72 kB / 360.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.1598, allocations: 55.64 kB / 360.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.1599, allocations: 8 kB / 360.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.311e-05/0.16, allocations: 12 kB / 360.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.591e-05/0.16, allocations: 31.91 kB / 360.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.668e-05/0.1601, allocations: 63.55 kB / 360.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.1604, allocations: 139.8 kB / 360.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1604, allocations: 0 / 360.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1604, allocations: 0 / 360.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1604, allocations: 4 kB / 360.9 MB, free: 10.67 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.0006508/0.1611, allocations: 454.8 kB / 361.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.1611, allocations: 12.03 kB / 361.3 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.993e-05/0.1612, allocations: 42.73 kB / 361.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.1614, allocations: 32.67 kB / 361.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.1617, allocations: 236 kB / 361.6 MB, free: 9.816 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.1617, allocations: 7.938 kB / 361.7 MB, free: 9.809 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.1617, allocations: 12 kB / 361.7 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005955/0.1623, allocations: 282.4 kB / 361.9 MB, free: 9.496 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.1624, allocations: 0 / 361.9 MB, free: 9.496 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.1624, allocations: 8 kB / 361.9 MB, free: 9.488 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.1624, allocations: 4 kB / 362 MB, free: 9.484 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002147/0.1626, allocations: 75.83 kB / 362 MB, free: 9.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005074/0.1631, allocations: 423.4 kB / 362.4 MB, free: 8.934 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000485/0.1636, allocations: 302.1 kB / 362.7 MB, free: 8.574 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.1639, allocations: 112.3 kB / 362.8 MB, free: 8.449 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.1639, allocations: 0 / 362.8 MB, free: 8.449 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.825e-05/0.1639, allocations: 54.42 kB / 362.9 MB, free: 8.387 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/0.164, allocations: 3.938 kB / 362.9 MB, free: 8.383 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006178/0.1646, allocations: 213.5 kB / 363.1 MB, free: 8.168 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/0.1647, allocations: 192 kB / 363.3 MB, free: 7.938 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.1649, allocations: 186.3 kB / 363.5 MB, free: 7.742 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.165, allocations: 25.7 kB / 363.5 MB, free: 7.711 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.773e-05/0.165, allocations: 100.1 kB / 363.6 MB, free: 7.609 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.1651, allocations: 15.89 kB / 363.6 MB, free: 7.594 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.135e-05/0.1652, allocations: 33.7 kB / 363.7 MB, free: 7.555 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1653, allocations: 330.8 kB / 364 MB, free: 7.223 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.821e-05/0.1654, allocations: 19.98 kB / 364 MB, free: 7.203 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.1655, allocations: 134.4 kB / 364.1 MB, free: 7.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.1657, allocations: 157.6 kB / 364.3 MB, free: 6.816 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1657, allocations: 0 / 364.3 MB, free: 6.816 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002751/0.166, allocations: 165.4 kB / 364.4 MB, free: 6.648 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.166, allocations: 11.94 kB / 364.5 MB, free: 6.637 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.166, allocations: 4 kB / 364.5 MB, free: 6.633 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.1661, allocations: 4 kB / 364.5 MB, free: 6.629 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.1662, allocations: 32.3 kB / 364.5 MB, free: 6.598 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.1662, allocations: 4 kB / 364.5 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.1664, allocations: 27.83 kB / 364.5 MB, free: 6.566 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.1664, allocations: 8 kB / 364.5 MB, free: 6.559 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (17): * Single equations (assignments): 17 * 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.0001238/0.1665, allocations: 149.8 kB / 364.7 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002782/0.1668, allocations: 141.3 kB / 364.8 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.377e-05/0.1669, allocations: 25.41 kB / 364.8 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.1669, allocations: 4 kB / 364.8 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.1669, allocations: 0 / 364.8 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.1669, allocations: 3.984 kB / 364.8 MB, free: 6.227 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002831/0.1672, allocations: 213.5 kB / 365.1 MB, free: 5.969 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.1672, allocations: 0 / 365.1 MB, free: 5.969 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.1673, allocations: 43.94 kB / 365.1 MB, free: 5.926 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.1674, allocations: 7.938 kB / 365.1 MB, free: 5.918 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.1674, allocations: 4 kB / 365.1 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.1674, allocations: 4 kB / 365.1 MB, free: 5.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1674, allocations: 0 / 365.1 MB, free: 5.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004193/0.1678, allocations: 361 kB / 365.5 MB, free: 5.531 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.1679, allocations: 108.8 kB / 365.6 MB, free: 5.406 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.878e-05/0.168, allocations: 15.92 kB / 365.6 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.1681, allocations: 4 kB / 365.6 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.1682, allocations: 11.98 kB / 365.6 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.1682, allocations: 8 kB / 365.6 MB, free: 5.367 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001265/0.1683, allocations: 136.4 kB / 365.7 MB, free: 5.234 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1684, allocations: 0 / 365.7 MB, free: 5.234 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003456/0.1687, allocations: 20 kB / 365.8 MB, free: 5.215 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: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0007413/0.1695, allocations: 0.9 MB / 366.7 MB, free: 4.281 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003119/0.1698, allocations: 116.5 kB / 366.8 MB, free: 4.168 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1698, allocations: 0 / 366.8 MB, free: 4.168 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.538e-05/0.1699, allocations: 11.98 kB / 366.8 MB, free: 4.156 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007979/0.1707, allocations: 104.6 kB / 366.9 MB, free: 4.055 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002556/0.1732, allocations: 2.07 MB / 369 MB, free: 1.781 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.1735, allocations: 0.724 MB / 369.7 MB, free: 1.031 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.215e-05/0.1736, allocations: 21.53 kB / 369.7 MB, free: 1.008 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.1737, allocations: 43.42 kB / 369.8 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1738, allocations: 4 kB / 369.8 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2674/0.4412, allocations: 3.336 MB / 373.1 MB, free: 19.8 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.3/8.741, allocations: 6.75 kB / 373.1 MB, free: 19.79 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches