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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 181.7 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 51.92 kB / 370.5 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4039/0.4059, allocations: 52.18 MB / 422.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003577/0.4095, allocations: 1.894 MB / 424.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.4107, allocations: 0.6274 MB / 425.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.4108, allocations: 7.938 kB / 425.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001576/0.411, allocations: 27.67 kB / 425.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.4111, allocations: 27.78 kB / 425.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.4115, allocations: 99.72 kB / 425.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.4117, allocations: 139.6 kB / 425.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.4119, allocations: 41.91 kB / 425.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.412, allocations: 59.77 kB / 425.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.4121, allocations: 55.66 kB / 425.6 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.4121, allocations: 8 kB / 425.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.94e-05/0.4121, allocations: 12 kB / 425.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.589e-05/0.4122, allocations: 35.86 kB / 425.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.839e-05/0.4123, allocations: 63.59 kB / 425.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.4125, allocations: 147.7 kB / 425.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.4125, allocations: 0 / 425.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4125, allocations: 0 / 425.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.4125, allocations: 3.938 kB / 425.9 MB, free: 11.37 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.0006767/0.4132, allocations: 381.7 kB / 426.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.4132, allocations: 8.031 kB / 426.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.204e-05/0.4133, allocations: 42.75 kB / 426.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.603e-05/0.4133, allocations: 20.8 kB / 426.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/0.4137, allocations: 188 kB / 426.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.4137, allocations: 7.938 kB / 426.5 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.4137, allocations: 12 kB / 426.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006478/0.4144, allocations: 290.7 kB / 426.8 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.4144, allocations: 7.984 kB / 426.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.4144, allocations: 0 / 426.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.4144, allocations: 4 kB / 426.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002225/0.4146, allocations: 79.81 kB / 426.9 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005811/0.4152, allocations: 398.5 kB / 427.3 MB, free: 9.812 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005033/0.4157, allocations: 212.8 kB / 427.5 MB, free: 9.559 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.4159, allocations: 104.4 kB / 427.6 MB, free: 9.441 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.416, allocations: 8 kB / 427.6 MB, free: 9.434 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.416, allocations: 38.5 kB / 427.6 MB, free: 9.387 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.753e-06/0.416, allocations: 4 kB / 427.6 MB, free: 9.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006059/0.4166, allocations: 217.7 kB / 427.9 MB, free: 9.164 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001449/0.4168, allocations: 191.9 kB / 428 MB, free: 8.934 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.417, allocations: 191.1 kB / 428.2 MB, free: 8.738 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.417, allocations: 25.7 kB / 428.3 MB, free: 8.707 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.277e-05/0.4171, allocations: 104.5 kB / 428.4 MB, free: 8.598 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.4171, allocations: 23.83 kB / 428.4 MB, free: 8.574 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.284e-05/0.4172, allocations: 33.81 kB / 428.4 MB, free: 8.535 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.4173, allocations: 330.8 kB / 428.7 MB, free: 8.203 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.886e-05/0.4174, allocations: 23.98 kB / 428.8 MB, free: 8.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.4176, allocations: 139.4 kB / 428.9 MB, free: 7.988 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.4178, allocations: 170.4 kB / 429.1 MB, free: 7.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4178, allocations: 0 / 429.1 MB, free: 7.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003035/0.4181, allocations: 177.2 kB / 429.2 MB, free: 7.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.4181, allocations: 11.94 kB / 429.2 MB, free: 7.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.4181, allocations: 4 kB / 429.2 MB, free: 7.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.4182, allocations: 4 kB / 429.3 MB, free: 7.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.4183, allocations: 40.45 kB / 429.3 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/0.4183, allocations: 15.92 kB / 429.3 MB, free: 7.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.4184, allocations: 15.95 kB / 429.3 MB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.4184, allocations: 8 kB / 429.3 MB, free: 7.492 MB / 334.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.0001418/0.4186, allocations: 137.7 kB / 429.5 MB, free: 7.348 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002953/0.4189, allocations: 145.4 kB / 429.6 MB, free: 7.199 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.759e-05/0.4189, allocations: 25.39 kB / 429.6 MB, free: 7.172 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.4189, allocations: 4 kB / 429.6 MB, free: 7.168 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.4189, allocations: 7.969 kB / 429.6 MB, free: 7.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4189, allocations: 0 / 429.6 MB, free: 7.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/0.4192, allocations: 184.6 kB / 429.8 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.4192, allocations: 4 kB / 429.8 MB, free: 6.934 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.4194, allocations: 39.91 kB / 429.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.4194, allocations: 0 / 429.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.4194, allocations: 8 kB / 429.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.4194, allocations: 0 / 429.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.4194, allocations: 7.938 kB / 429.9 MB, free: 6.879 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004609/0.4199, allocations: 361.3 kB / 430.2 MB, free: 6.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.101e-05/0.42, allocations: 47.75 kB / 430.3 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.42, allocations: 0 / 430.3 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.4201, allocations: 19.98 kB / 430.3 MB, free: 6.434 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.4202, allocations: 3.938 kB / 430.3 MB, free: 6.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.4202, allocations: 8 kB / 430.3 MB, free: 6.422 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001232/0.4203, allocations: 137.1 kB / 430.4 MB, free: 6.289 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4203, allocations: 0 / 430.4 MB, free: 6.289 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003303/0.4206, allocations: 20 kB / 430.5 MB, free: 6.27 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: 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.0009256/0.4216, allocations: 0.9553 MB / 431.4 MB, free: 5.281 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002985/0.4219, allocations: 119.8 kB / 431.5 MB, free: 5.164 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4219, allocations: 0 / 431.5 MB, free: 5.164 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.563e-05/0.4219, allocations: 16.94 kB / 431.6 MB, free: 5.148 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000691/0.4226, allocations: 118.6 kB / 431.7 MB, free: 5.035 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/0.4251, allocations: 2.074 MB / 433.7 MB, free: 2.754 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.4255, allocations: 0.7319 MB / 434.5 MB, free: 1.996 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.366e-05/0.4255, allocations: 13.48 kB / 434.5 MB, free: 1.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.52e-05/0.4256, allocations: 43.42 kB / 434.5 MB, free: 1.941 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4256, allocations: 0 / 434.5 MB, free: 1.941 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03626/0.4619, allocations: 3.689 MB / 438.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.77, allocations: 7.312 kB / 438.2 MB, free: 14.4 MB / 350.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.csv","/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) [Timeout 660] "Error: Could not read variable sample1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.csv failed! Error: Could not read variable hold1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.csv. Warning: Get data of variable hold1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.52057083499676]