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.001067/0.001067, allocations: 76.08 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.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.0008355/0.0008355, allocations: 157.4 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.8518/0.8518, allocations: 173.3 MB / 200.4 MB, free: 9.414 MB / 186.7 MB " [Timeout remaining time 179] 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 9.72e-07/9.72e-07, allocations: 0 / 318.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.122e-05/1.219e-05, allocations: 2.281 kB / 318.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.002045/0.002057, allocations: 1.82 MB / 320.3 MB, free: 4.504 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008405/0.002898, allocations: 0.5999 MB / 320.9 MB, free: 3.902 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.003018, allocations: 7.938 kB / 320.9 MB, free: 3.895 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.003157, allocations: 27.67 kB / 320.9 MB, free: 3.867 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.003283, allocations: 23.8 kB / 320.9 MB, free: 3.844 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.003607, allocations: 107.5 kB / 321 MB, free: 3.742 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.003762, allocations: 139.6 kB / 321.2 MB, free: 3.605 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.003887, allocations: 49.88 kB / 321.2 MB, free: 3.555 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.003992, allocations: 83.73 kB / 321.3 MB, free: 3.473 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.94e-05/0.004062, allocations: 31.89 kB / 321.3 MB, free: 3.441 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.00409, allocations: 15.94 kB / 321.3 MB, free: 3.426 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.325e-05/0.004103, allocations: 8 kB / 321.3 MB, free: 3.418 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.163e-05/0.004155, allocations: 27.92 kB / 321.4 MB, free: 3.391 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.472e-05/0.00419, allocations: 35.84 kB / 321.4 MB, free: 3.355 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.004352, allocations: 147.5 kB / 321.6 MB, free: 3.211 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.004355, allocations: 0 / 321.6 MB, free: 3.211 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.004356, allocations: 0 / 321.6 MB, free: 3.211 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.00436, allocations: 7.875 kB / 321.6 MB, free: 3.203 MB / 282.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.0004551/0.004815, allocations: 365.8 kB / 321.9 MB, free: 2.816 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.004854, allocations: 12.92 kB / 321.9 MB, free: 2.805 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.423e-05/0.004888, allocations: 38.75 kB / 322 MB, free: 2.758 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/0.004924, allocations: 28.78 kB / 322 MB, free: 2.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.005165, allocations: 183.3 kB / 322.2 MB, free: 2.523 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.005181, allocations: 8.562 kB / 322.2 MB, free: 2.516 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.005195, allocations: 16.06 kB / 322.2 MB, free: 2.5 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004117/0.005606, allocations: 307.7 kB / 322.5 MB, free: 2.168 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.005615, allocations: 0 / 322.5 MB, free: 2.168 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.005628, allocations: 4 kB / 322.5 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.005634, allocations: 4 kB / 322.5 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.005756, allocations: 75.88 kB / 322.6 MB, free: 2.086 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003406/0.006097, allocations: 378.5 kB / 322.9 MB, free: 1.66 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002781/0.006375, allocations: 212.9 kB / 323.2 MB, free: 1.406 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.006484, allocations: 104.3 kB / 323.3 MB, free: 1.289 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.006504, allocations: 7.938 kB / 323.3 MB, free: 1.281 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.006525, allocations: 38.56 kB / 323.3 MB, free: 1.234 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.402e-06/0.006526, allocations: 0 / 323.3 MB, free: 1.234 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003364/0.006863, allocations: 221.4 kB / 323.5 MB, free: 1.012 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.443e-05/0.006937, allocations: 196 kB / 323.7 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.007052, allocations: 175.2 kB / 323.9 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.007067, allocations: 33.7 kB / 323.9 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.858e-05/0.007115, allocations: 108.1 kB / 324 MB, free: 460 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.367e-05/0.007129, allocations: 7.953 kB / 324 MB, free: 452 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.007157, allocations: 17.7 kB / 324 MB, free: 428 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.138e-05/0.007228, allocations: 327.1 kB / 324.4 MB, free: 92 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.321e-05/0.007251, allocations: 12 kB / 324.4 MB, free: 80 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.653e-05/0.007288, allocations: 56.2 kB / 324.4 MB, free: 8 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.808e-05/0.007346, allocations: 29.7 kB / 324.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.007348, allocations: 0 / 324.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.087e-05/0.007419, allocations: 69.53 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.007432, allocations: 8 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.007437, allocations: 4.156 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.007448, allocations: 3.938 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.392e-05/0.007492, allocations: 7.984 kB / 324.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.007497, allocations: 0 / 324.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.714e-05/0.007524, allocations: 4 kB / 324.6 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.007528, allocations: 0 / 324.6 MB, free: 15.87 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 7.322e-05/0.007602, allocations: 129.8 kB / 324.7 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.007755, allocations: 137.8 kB / 324.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.158e-05/0.007787, allocations: 25.48 kB / 324.8 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.007791, allocations: 7.938 kB / 324.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.007796, allocations: 4.094 kB / 324.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.007799, allocations: 3.938 kB / 324.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.007973, allocations: 176.6 kB / 325 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.007974, allocations: 0 / 325 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.72e-05/0.008041, allocations: 35.98 kB / 325.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.008043, allocations: 3.938 kB / 325.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.008052, allocations: 4 kB / 325.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.008056, allocations: 11.92 kB / 325.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.008056, allocations: 8 kB / 325.1 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.008281, allocations: 341.3 kB / 325.4 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/0.00833, allocations: 39.81 kB / 325.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.008345, allocations: 4 kB / 325.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.808e-05/0.008423, allocations: 15.92 kB / 325.5 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.008447, allocations: 0 / 325.5 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.008454, allocations: 12 kB / 325.5 MB, free: 14.85 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.016e-05/0.008524, allocations: 133.1 kB / 325.6 MB, free: 14.72 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008524, allocations: 4 kB / 325.6 MB, free: 14.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001855/0.00871, allocations: 19.94 kB / 325.7 MB, free: 14.7 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.0006254/0.009335, allocations: 0.882 MB / 326.5 MB, free: 13.78 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001751/0.00951, allocations: 67.89 kB / 326.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.009512, allocations: 4.125 kB / 326.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.378e-05/0.009536, allocations: 15.94 kB / 326.6 MB, free: 13.69 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004769/0.01001, allocations: 114.6 kB / 326.7 MB, free: 13.58 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.01162, allocations: 1.807 MB / 328.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.239e-05/0.01171, allocations: 102.8 kB / 328.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.5e-05/0.01175, allocations: 16.81 kB / 328.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.152e-05/0.01181, allocations: 36.48 kB / 328.7 MB, free: 11.49 MB / 298.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01181, allocations: 0 / 328.7 MB, free: 11.49 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01716/0.02897, allocations: 4.034 MB / 332.7 MB, free: 7.605 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.823/6.852, allocations: 3.859 kB / 332.7 MB, free: 7.602 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins/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: 8.564813955686986]