Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.001362/0.001362, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.00148/0.00148, allocations: 187.1 kB / 23.72 MB, free: 4.684 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.55/1.55, allocations: 225.6 MB / 252.5 MB, free: 13.04 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.HoldWithDAeffects1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 47.92 kB / 370.4 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4075/0.4092, allocations: 52.18 MB / 422.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003632/0.4128, allocations: 1.898 MB / 424.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.414, allocations: 0.6274 MB / 425.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.4142, allocations: 11.88 kB / 425.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.4143, allocations: 19.8 kB / 425.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.4145, allocations: 31.72 kB / 425.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004043/0.4149, allocations: 99.72 kB / 425.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002269/0.4151, allocations: 143.6 kB / 425.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.4153, allocations: 37.86 kB / 425.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.4154, allocations: 59.72 kB / 425.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.4155, allocations: 59.7 kB / 425.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.887e-05/0.4155, allocations: 12 kB / 425.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.186e-05/0.4156, allocations: 8 kB / 425.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.284e-05/0.4156, allocations: 39.84 kB / 425.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.75e-05/0.4157, allocations: 55.61 kB / 425.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.4159, allocations: 151.7 kB / 425.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4159, allocations: 0 / 425.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.4159, allocations: 0 / 425.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.4159, allocations: 0 / 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.000655/0.4166, allocations: 381.7 kB / 426.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.4166, allocations: 8.031 kB / 426.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.591e-05/0.4167, allocations: 38.75 kB / 426.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/0.4168, allocations: 24.78 kB / 426.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003744/0.4171, allocations: 184 kB / 426.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.4171, allocations: 11.94 kB / 426.5 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.4172, allocations: 8 kB / 426.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006281/0.4178, allocations: 284.4 kB / 426.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.4178, allocations: 3.938 kB / 426.8 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.4178, allocations: 4 kB / 426.8 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.4178, allocations: 4 kB / 426.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.4181, allocations: 79.81 kB / 426.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005477/0.4186, allocations: 386.6 kB / 427.3 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004581/0.4191, allocations: 209 kB / 427.5 MB, free: 9.582 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.4193, allocations: 108.3 kB / 427.6 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.4193, allocations: 7.984 kB / 427.6 MB, free: 9.453 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.4193, allocations: 46.48 kB / 427.6 MB, free: 9.398 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.423e-06/0.4193, allocations: 3.938 kB / 427.6 MB, free: 9.395 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005655/0.4199, allocations: 213.6 kB / 427.8 MB, free: 9.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/0.42, allocations: 195.9 kB / 428 MB, free: 8.945 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.4202, allocations: 183.2 kB / 428.2 MB, free: 8.758 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.4202, allocations: 29.7 kB / 428.2 MB, free: 8.723 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.525e-05/0.4203, allocations: 100.1 kB / 428.3 MB, free: 8.621 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.4204, allocations: 15.94 kB / 428.3 MB, free: 8.605 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.23e-05/0.4204, allocations: 45.73 kB / 428.4 MB, free: 8.555 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.4206, allocations: 318.8 kB / 428.7 MB, free: 8.234 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.746e-05/0.4207, allocations: 23.98 kB / 428.7 MB, free: 8.211 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.4208, allocations: 130.5 kB / 428.9 MB, free: 8.031 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.421, allocations: 161.5 kB / 429 MB, free: 7.824 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.421, allocations: 0 / 429 MB, free: 7.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002979/0.4213, allocations: 169.3 kB / 429.2 MB, free: 7.652 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.4213, allocations: 11.94 kB / 429.2 MB, free: 7.641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.4214, allocations: 4 kB / 429.2 MB, free: 7.637 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.4214, allocations: 4 kB / 429.2 MB, free: 7.633 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.4215, allocations: 35.92 kB / 429.2 MB, free: 7.598 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.4215, allocations: 7.938 kB / 429.2 MB, free: 7.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.4216, allocations: 20.31 kB / 429.3 MB, free: 7.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.4216, allocations: 16 kB / 429.3 MB, free: 7.555 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.0001269/0.4218, allocations: 129.8 kB / 429.4 MB, free: 7.418 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002778/0.422, allocations: 145.4 kB / 429.5 MB, free: 7.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.357e-05/0.4221, allocations: 25.41 kB / 429.6 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.4221, allocations: 0 / 429.6 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-06/0.4221, allocations: 4.469 kB / 429.6 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4221, allocations: 0 / 429.6 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002842/0.4224, allocations: 192.9 kB / 429.8 MB, free: 7.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4224, allocations: 0 / 429.8 MB, free: 7.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.4225, allocations: 39.91 kB / 429.8 MB, free: 6.969 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.4225, allocations: 11.88 kB / 429.8 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.4226, allocations: 7.984 kB / 429.8 MB, free: 6.949 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.4226, allocations: 4 kB / 429.8 MB, free: 6.945 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4226, allocations: 0 / 429.8 MB, free: 6.945 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004366/0.423, allocations: 360.2 kB / 430.2 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.887e-05/0.4231, allocations: 35.77 kB / 430.2 MB, free: 6.535 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.4231, allocations: 4 kB / 430.2 MB, free: 6.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.4232, allocations: 11.98 kB / 430.2 MB, free: 6.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.721e-05/0.4233, allocations: 8 kB / 430.2 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.4233, allocations: 4 kB / 430.2 MB, free: 6.508 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.4234, allocations: 141.1 kB / 430.4 MB, free: 6.371 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4234, allocations: 0 / 430.4 MB, free: 6.371 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000317/0.4237, allocations: 20 kB / 430.4 MB, free: 6.352 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.0007759/0.4245, allocations: 0.8936 MB / 431.3 MB, free: 5.422 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002916/0.4248, allocations: 112 kB / 431.4 MB, free: 5.312 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4248, allocations: 0 / 431.4 MB, free: 5.312 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.6e-05/0.4248, allocations: 11.94 kB / 431.4 MB, free: 5.301 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006779/0.4255, allocations: 100.2 kB / 431.5 MB, free: 5.203 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002741/0.4282, allocations: 2.076 MB / 433.6 MB, free: 2.93 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.4286, allocations: 0.7241 MB / 434.3 MB, free: 2.18 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.591e-05/0.4287, allocations: 13.5 kB / 434.3 MB, free: 2.164 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.466e-05/0.4288, allocations: 43.42 kB / 434.4 MB, free: 2.125 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4288, allocations: 0 / 434.4 MB, free: 2.125 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03436/0.4632, allocations: 3.576 MB / 437.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.51, allocations: 10.28 kB / 437.9 MB, free: 14.7 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_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_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv failed! Error: Could not read variable hold1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv. Warning: Get data of variable hold1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.209960775999207]