Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.001769/0.001769, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.002361/0.002361, allocations: 203.5 kB / 23.73 MB, free: 4.379 MB / 14.72 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 1.427/1.427, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.HoldWithDAeffects2,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 47.92 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2446, allocations: 53.36 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003564/0.2481, allocations: 1.845 MB / 432.9 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.2494, allocations: 0.6585 MB / 433.6 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.2496, allocations: 7.875 kB / 433.6 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001609/0.2497, allocations: 19.8 kB / 433.6 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.2499, allocations: 31.78 kB / 433.6 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004709/0.2504, allocations: 115.7 kB / 433.8 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.2506, allocations: 139.6 kB / 433.9 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.2508, allocations: 41.91 kB / 433.9 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.2509, allocations: 67.7 kB / 434 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.863e-05/0.251, allocations: 51.7 kB / 434.1 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.035e-05/0.2511, allocations: 12 kB / 434.1 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.875e-05/0.2511, allocations: 20 kB / 434.1 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.044e-05/0.2512, allocations: 35.78 kB / 434.1 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.343e-05/0.2512, allocations: 47.67 kB / 434.2 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002413/0.2515, allocations: 153 kB / 434.3 MB, free: 3.391 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2515, allocations: 3.938 kB / 434.3 MB, free: 3.387 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2515, allocations: 0 / 434.3 MB, free: 3.387 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.2515, allocations: 0 / 434.3 MB, free: 3.387 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.0005794/0.2521, allocations: 377.7 kB / 434.7 MB, free: 2.988 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.2521, allocations: 15.95 kB / 434.7 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.174e-05/0.2521, allocations: 38.75 kB / 434.7 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.2523, allocations: 24.83 kB / 434.8 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.2526, allocations: 198.3 kB / 435 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.2527, allocations: 11.94 kB / 435 MB, free: 2.672 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.2527, allocations: 8 kB / 435 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006053/0.2533, allocations: 312.5 kB / 435.3 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.2533, allocations: 0 / 435.3 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.2533, allocations: 4 kB / 435.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2533, allocations: 4 kB / 435.3 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002077/0.2535, allocations: 75.88 kB / 435.4 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004959/0.254, allocations: 378.5 kB / 435.7 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004536/0.2545, allocations: 220.9 kB / 436 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.2547, allocations: 100.2 kB / 436.1 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/0.2547, allocations: 8 kB / 436.1 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.2547, allocations: 42.48 kB / 436.1 MB, free: 1.383 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.313e-06/0.2547, allocations: 0 / 436.1 MB, free: 1.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005658/0.2553, allocations: 221.3 kB / 436.3 MB, free: 1.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/0.2555, allocations: 191.9 kB / 436.5 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.2556, allocations: 187.1 kB / 436.7 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.2557, allocations: 33.64 kB / 436.7 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.502e-05/0.2557, allocations: 108.4 kB / 436.8 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.2558, allocations: 11.94 kB / 436.8 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.9e-05/0.2558, allocations: 46.03 kB / 436.9 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.256, allocations: 326.8 kB / 437.2 MB, free: 200 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.112e-05/0.2561, allocations: 27.97 kB / 437.2 MB, free: 172 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.2562, allocations: 157.2 kB / 437.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.2565, allocations: 174.4 kB / 437.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.2565, allocations: 4 kB / 437.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003007/0.2568, allocations: 181.2 kB / 437.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.2568, allocations: 4 kB / 437.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2568, allocations: 4 kB / 437.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.2568, allocations: 8.531 kB / 437.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.2569, allocations: 39.92 kB / 437.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.257, allocations: 7.938 kB / 437.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.2571, allocations: 19.88 kB / 437.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.2571, allocations: 12 kB / 437.8 MB, free: 15.45 MB / 350.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.0001271/0.2572, allocations: 133.8 kB / 438 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002942/0.2575, allocations: 145.4 kB / 438.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.758e-05/0.2575, allocations: 17.41 kB / 438.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.2575, allocations: 8.016 kB / 438.1 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.2576, allocations: 11.94 kB / 438.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2576, allocations: 0 / 438.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/0.2578, allocations: 176.6 kB / 438.3 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2578, allocations: 4.172 kB / 438.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.258, allocations: 39.91 kB / 438.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.258, allocations: 4 kB / 438.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.258, allocations: 8 kB / 438.4 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.258, allocations: 0 / 438.4 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.258, allocations: 7.922 kB / 438.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004165/0.2584, allocations: 365.1 kB / 438.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-05/0.2585, allocations: 43.77 kB / 438.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.2585, allocations: 4 kB / 438.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.2587, allocations: 11.98 kB / 438.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.2587, allocations: 11.94 kB / 438.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.2587, allocations: 4 kB / 438.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000111/0.2588, allocations: 136.4 kB / 438.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2588, allocations: 0 / 438.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003262/0.2592, allocations: 24 kB / 439 MB, free: 14.23 MB / 350.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.0008674/0.26, allocations: 0.9509 MB / 439.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002857/0.2603, allocations: 116.6 kB / 440 MB, free: 13.13 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2603, allocations: 0 / 440 MB, free: 13.13 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.889e-05/0.2604, allocations: 19.92 kB / 440 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006322/0.261, allocations: 106.5 kB / 440.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.2633, allocations: 2.073 MB / 442.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.2634, allocations: 119.4 kB / 442.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.72e-05/0.2635, allocations: 17.42 kB / 442.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.612e-05/0.2636, allocations: 39.42 kB / 442.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2636, allocations: 0 / 442.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03014/0.2937, allocations: 4.287 MB / 446.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.15, allocations: 0 / 446.7 MB, free: 6.434 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.csv failed! Error: Could not read variable hold1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.csv. Warning: Get data of variable hold1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.636516678001499]