Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008025/0.0008025, allocations: 83.69 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008086/0.0008086, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8976/0.8976, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/2.03e-05, allocations: 6.219 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.002491/0.002511, allocations: 1.85 MB / 326.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000882/0.003393, allocations: 0.6544 MB / 327.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.003513, allocations: 7.938 kB / 327.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.003664, allocations: 23.73 kB / 327.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.00379, allocations: 27.73 kB / 327.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003517/0.004142, allocations: 115.6 kB / 327.3 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.004305, allocations: 147.4 kB / 327.4 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.004442, allocations: 45.95 kB / 327.4 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.004599, allocations: 91.67 kB / 327.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.811e-05/0.004667, allocations: 27.91 kB / 327.6 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.004687, allocations: 8 kB / 327.6 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.469e-05/0.004732, allocations: 16 kB / 327.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.289e-05/0.004785, allocations: 31.84 kB / 327.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.646e-05/0.004821, allocations: 39.84 kB / 327.7 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.005012, allocations: 147.5 kB / 327.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.005015, allocations: 3.938 kB / 327.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.005016, allocations: 4 kB / 327.8 MB, free: 12.67 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.00502, allocations: 0 / 327.8 MB, free: 12.67 MB / 298.7 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.0004272/0.005447, allocations: 376.6 kB / 328.2 MB, free: 12.28 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.005483, allocations: 12.03 kB / 328.2 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.27e-05/0.005516, allocations: 42.67 kB / 328.2 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.005621, allocations: 28.83 kB / 328.3 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.005861, allocations: 198 kB / 328.5 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.005877, allocations: 8.562 kB / 328.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.00589, allocations: 16.12 kB / 328.5 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003955/0.006286, allocations: 296.7 kB / 328.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.006294, allocations: 4 kB / 328.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.006307, allocations: 4 kB / 328.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.006313, allocations: 3.984 kB / 328.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.006434, allocations: 75.88 kB / 328.9 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.006791, allocations: 374.6 kB / 329.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/0.007085, allocations: 216.9 kB / 329.4 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.007192, allocations: 96.36 kB / 329.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.007212, allocations: 7.984 kB / 329.5 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.007233, allocations: 42.5 kB / 329.6 MB, free: 10.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.332e-06/0.007235, allocations: 0 / 329.6 MB, free: 10.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003495/0.007584, allocations: 221.4 kB / 329.8 MB, free: 10.46 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.423e-05/0.007679, allocations: 195.9 kB / 330 MB, free: 10.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.007834, allocations: 183.6 kB / 330.2 MB, free: 10.04 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.007853, allocations: 29.7 kB / 330.2 MB, free: 10.01 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.331e-05/0.007916, allocations: 108.1 kB / 330.3 MB, free: 9.895 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.007936, allocations: 11.88 kB / 330.3 MB, free: 9.883 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.007974, allocations: 21.66 kB / 330.3 MB, free: 9.855 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.008081, allocations: 322.8 kB / 330.6 MB, free: 9.531 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.229e-05/0.008124, allocations: 12.27 kB / 330.7 MB, free: 9.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.798e-05/0.008182, allocations: 56.22 kB / 330.7 MB, free: 9.449 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.765e-05/0.008249, allocations: 33.7 kB / 330.7 MB, free: 9.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.008252, allocations: 0 / 330.7 MB, free: 9.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001142/0.008366, allocations: 61.56 kB / 330.8 MB, free: 9.344 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.008381, allocations: 8 kB / 330.8 MB, free: 9.336 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.008386, allocations: 160 / 330.8 MB, free: 9.336 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.0084, allocations: 7.938 kB / 330.8 MB, free: 9.328 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.494e-05/0.008455, allocations: 4 kB / 330.8 MB, free: 9.324 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.008461, allocations: 4.359 kB / 330.8 MB, free: 9.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.946e-05/0.008501, allocations: 4 kB / 330.8 MB, free: 9.316 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.008508, allocations: 4 kB / 330.8 MB, free: 9.312 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 9.493e-05/0.008603, allocations: 121.8 kB / 331 MB, free: 9.184 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002439/0.008847, allocations: 149.3 kB / 331.1 MB, free: 9.031 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.175e-05/0.008889, allocations: 29.5 kB / 331.1 MB, free: 9.008 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.008894, allocations: 3.938 kB / 331.1 MB, free: 9.004 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.008902, allocations: 7.984 kB / 331.1 MB, free: 8.996 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.008907, allocations: 0 / 331.1 MB, free: 8.996 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002642/0.009171, allocations: 164.7 kB / 331.3 MB, free: 8.793 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.009175, allocations: 4 kB / 331.3 MB, free: 8.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.009288, allocations: 35.97 kB / 331.3 MB, free: 8.754 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.009292, allocations: 4 kB / 331.3 MB, free: 8.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.009304, allocations: 4 kB / 331.3 MB, free: 8.746 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.009309, allocations: 7.938 kB / 331.4 MB, free: 8.738 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.009313, allocations: 7.922 kB / 331.4 MB, free: 8.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.009655, allocations: 357.2 kB / 331.7 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.342e-05/0.009729, allocations: 35.83 kB / 331.7 MB, free: 8.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.009753, allocations: 7.984 kB / 331.8 MB, free: 8.312 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.009897, allocations: 11.94 kB / 331.8 MB, free: 8.301 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.00993, allocations: 8.219 kB / 331.8 MB, free: 8.293 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.00994, allocations: 4 kB / 331.8 MB, free: 8.289 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001078/0.01005, allocations: 140.4 kB / 331.9 MB, free: 8.152 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01005, allocations: 4 kB / 331.9 MB, free: 8.148 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003509/0.0104, allocations: 16 kB / 331.9 MB, free: 8.133 MB / 298.7 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.0006202/0.01102, allocations: 0.8897 MB / 332.8 MB, free: 7.207 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002026/0.01122, allocations: 59.91 kB / 332.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01122, allocations: 128 / 332.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.441e-05/0.01126, allocations: 19.98 kB / 332.9 MB, free: 7.129 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007017/0.01196, allocations: 106.4 kB / 333 MB, free: 7.027 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.01379, allocations: 1.833 MB / 334.8 MB, free: 5.082 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.527e-05/0.01388, allocations: 106.8 kB / 334.9 MB, free: 4.957 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.147e-05/0.01392, allocations: 13.14 kB / 335 MB, free: 4.945 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.842e-05/0.01398, allocations: 36.48 kB / 335 MB, free: 4.906 MB / 298.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01398, allocations: 0 / 335 MB, free: 4.906 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01713/0.03111, allocations: 4.061 MB / 339.1 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.022/7.053, allocations: 4.031 kB / 339.1 MB, free: 0.9883 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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 3.98486e-05 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable sample1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv failed! Error: Could not read variable hold1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv. Warning: Get data of variable hold1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.833720985800028]