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.001874/0.001874, allocations: 121.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002264/0.002264, allocations: 203.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.585/1.585, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 71.86 kB / 358.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3912, allocations: 50.53 MB / 408.8 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.004485/0.3958, allocations: 1.872 MB / 410.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.3974, allocations: 0.6973 MB / 411.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002066/0.3977, allocations: 7.938 kB / 411.3 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002384/0.3979, allocations: 23.8 kB / 411.4 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001914/0.3981, allocations: 15.81 kB / 411.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005539/0.3987, allocations: 115.2 kB / 411.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.399, allocations: 143.6 kB / 411.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002835/0.3993, allocations: 57.7 kB / 411.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.3995, allocations: 63.72 kB / 411.8 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.3996, allocations: 51.64 kB / 411.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.3997, allocations: 12 kB / 411.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.8e-05/0.3997, allocations: 20 kB / 411.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.626e-05/0.3998, allocations: 35.84 kB / 411.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.592e-05/0.3999, allocations: 59.55 kB / 411.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003448/0.4003, allocations: 146.4 kB / 412.1 MB, free: 14.19 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.267e-05/0.4003, allocations: 7.984 kB / 412.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.388e-06/0.4003, allocations: 0 / 412.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.4003, allocations: 0 / 412.1 MB, free: 14.18 MB / 334.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.001023/0.4014, allocations: 458.7 kB / 412.5 MB, free: 13.69 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.018e-05/0.4015, allocations: 15.97 kB / 412.5 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.266e-05/0.4015, allocations: 38.75 kB / 412.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002608/0.4018, allocations: 24.83 kB / 412.6 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006206/0.4024, allocations: 257 kB / 412.9 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.4025, allocations: 11.94 kB / 412.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/0.4025, allocations: 8 kB / 412.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008478/0.4034, allocations: 283.8 kB / 413.2 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.4034, allocations: 0 / 413.2 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.4034, allocations: 4 kB / 413.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.4034, allocations: 0 / 413.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002462/0.4037, allocations: 79.83 kB / 413.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007874/0.4045, allocations: 427.5 kB / 413.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006156/0.4051, allocations: 294.1 kB / 413.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/0.4054, allocations: 108.3 kB / 414 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.394e-05/0.4054, allocations: 3.984 kB / 414 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.16e-05/0.4055, allocations: 46.44 kB / 414.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.392e-06/0.4055, allocations: 0 / 414.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.00066/0.4062, allocations: 213.3 kB / 414.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001789/0.4063, allocations: 196.7 kB / 414.5 MB, free: 11.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.4066, allocations: 182.3 kB / 414.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.4066, allocations: 29.7 kB / 414.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.565e-05/0.4067, allocations: 112 kB / 414.8 MB, free: 11.11 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.4068, allocations: 15.94 kB / 414.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.007e-05/0.4068, allocations: 37.7 kB / 414.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.407, allocations: 322.8 kB / 415.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.106e-05/0.4071, allocations: 19.98 kB / 415.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.4073, allocations: 138.4 kB / 415.3 MB, free: 10.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/0.4075, allocations: 157.6 kB / 415.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.4075, allocations: 4 kB / 415.5 MB, free: 10.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002901/0.4078, allocations: 165.6 kB / 415.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.4079, allocations: 14.75 kB / 415.7 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.4079, allocations: 8.031 kB / 415.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.4079, allocations: 4 kB / 415.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.408, allocations: 35.92 kB / 415.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.4081, allocations: 11.92 kB / 415.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.5e-05/0.4082, allocations: 7.953 kB / 415.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.4082, allocations: 12 kB / 415.7 MB, free: 10.05 MB / 334.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.0001535/0.4083, allocations: 137.7 kB / 415.9 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000305/0.4087, allocations: 149.4 kB / 416 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.801e-05/0.4087, allocations: 21.39 kB / 416 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/0.4087, allocations: 4 kB / 416 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.4087, allocations: 4 kB / 416.1 MB, free: 9.723 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.4088, allocations: 8.172 kB / 416.1 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003189/0.4091, allocations: 213.5 kB / 416.3 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.4091, allocations: 4 kB / 416.3 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.4092, allocations: 43.95 kB / 416.3 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.4092, allocations: 3.938 kB / 416.3 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.4093, allocations: 8.031 kB / 416.3 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4093, allocations: 0 / 416.3 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4093, allocations: 0 / 416.3 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004297/0.4097, allocations: 357.2 kB / 416.7 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.4099, allocations: 112.9 kB / 416.8 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.4099, allocations: 4 kB / 416.8 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.41, allocations: 15.98 kB / 416.8 MB, free: 8.875 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.627e-05/0.4101, allocations: 0 / 416.8 MB, free: 8.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.4101, allocations: 4.094 kB / 416.8 MB, free: 8.871 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001205/0.4103, allocations: 140.4 kB / 416.9 MB, free: 8.734 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4103, allocations: 0 / 416.9 MB, free: 8.734 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003168/0.4106, allocations: 24 kB / 417 MB, free: 8.711 MB / 334.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.0008328/0.4114, allocations: 0.8974 MB / 417.9 MB, free: 7.777 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003099/0.4117, allocations: 112.7 kB / 418 MB, free: 7.668 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.4118, allocations: 4 kB / 418 MB, free: 7.664 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.003e-05/0.4118, allocations: 8.062 kB / 418 MB, free: 7.656 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006819/0.4125, allocations: 103.9 kB / 418.1 MB, free: 7.555 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002785/0.4153, allocations: 2.08 MB / 420.2 MB, free: 5.273 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.4157, allocations: 0.7202 MB / 420.9 MB, free: 4.527 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.836e-05/0.4158, allocations: 17.48 kB / 420.9 MB, free: 4.512 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.239e-05/0.4159, allocations: 43.89 kB / 421 MB, free: 4.473 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4159, allocations: 8 kB / 421 MB, free: 4.465 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02928/0.4452, allocations: 3.402 MB / 424.4 MB, free: 1.215 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.63/9.075, allocations: 7.938 kB / 424.4 MB, free: 1.207 MB / 334.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.1.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