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.001915/0.001915, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001501/0.001501, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.448/1.448, 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.001774/0.001774, allocations: 48.06 kB / 377.7 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2525, allocations: 53.36 MB / 431.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003224/0.2557, allocations: 1.846 MB / 432.9 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.257, allocations: 0.6546 MB / 433.6 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.2571, allocations: 11.94 kB / 433.6 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.2573, allocations: 27.73 kB / 433.6 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001232/0.2574, allocations: 23.8 kB / 433.7 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.2578, allocations: 107.7 kB / 433.8 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.258, allocations: 147.5 kB / 433.9 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.2581, allocations: 45.88 kB / 433.9 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.2583, allocations: 59.72 kB / 434 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.779e-05/0.2584, allocations: 51.7 kB / 434.1 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.2584, allocations: 8 kB / 434.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.928e-05/0.2584, allocations: 24 kB / 434.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.543e-05/0.2585, allocations: 27.86 kB / 434.1 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.517e-05/0.2585, allocations: 51.61 kB / 434.2 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.2588, allocations: 149 kB / 434.3 MB, free: 3.387 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.2588, allocations: 4 kB / 434.3 MB, free: 3.383 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2588, allocations: 0 / 434.3 MB, free: 3.383 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.2588, allocations: 0 / 434.3 MB, free: 3.383 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.00058/0.2594, allocations: 385.6 kB / 434.7 MB, free: 2.977 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.2594, allocations: 8.031 kB / 434.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.407e-05/0.2595, allocations: 42.75 kB / 434.7 MB, free: 2.918 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.2596, allocations: 28.83 kB / 434.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.2599, allocations: 190.2 kB / 435 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.26, allocations: 11.94 kB / 435 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.26, allocations: 12 kB / 435 MB, free: 2.656 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006006/0.2606, allocations: 317.6 kB / 435.3 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.2606, allocations: 0 / 435.3 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.2606, allocations: 0 / 435.3 MB, free: 2.312 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.2606, allocations: 4 kB / 435.3 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002122/0.2608, allocations: 79.88 kB / 435.4 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004992/0.2613, allocations: 378.5 kB / 435.7 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004557/0.2618, allocations: 209 kB / 435.9 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/0.262, allocations: 104.3 kB / 436 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.262, allocations: 7.984 kB / 436.1 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.262, allocations: 38.56 kB / 436.1 MB, free: 1.383 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.262, allocations: 3.938 kB / 436.1 MB, free: 1.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005639/0.2626, allocations: 225.3 kB / 436.3 MB, free: 1.152 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/0.2627, allocations: 191.9 kB / 436.5 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.2629, allocations: 183.1 kB / 436.7 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.2629, allocations: 30.08 kB / 436.7 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.766e-05/0.263, allocations: 108.5 kB / 436.8 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.263, allocations: 15.94 kB / 436.8 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.395e-05/0.2631, allocations: 33.67 kB / 436.9 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.2632, allocations: 330.8 kB / 437.2 MB, free: 204 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.708e-05/0.2633, allocations: 23.98 kB / 437.2 MB, free: 180 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.2635, allocations: 168.3 kB / 437.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/0.2637, allocations: 174.4 kB / 437.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.2637, allocations: 7.938 kB / 437.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002882/0.264, allocations: 173.7 kB / 437.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.264, allocations: 8.094 kB / 437.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.264, allocations: 7.938 kB / 437.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.2641, allocations: 8 kB / 437.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.2642, allocations: 35.92 kB / 437.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.2642, allocations: 15.86 kB / 437.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.2643, allocations: 19.89 kB / 437.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.2643, allocations: 12 kB / 437.8 MB, free: 15.44 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.00013/0.2644, allocations: 137.8 kB / 438 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002841/0.2647, allocations: 141.5 kB / 438.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.861e-05/0.2648, allocations: 25.39 kB / 438.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.2648, allocations: 4 kB / 438.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.2648, allocations: 3.938 kB / 438.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2648, allocations: 4 kB / 438.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.2651, allocations: 176.6 kB / 438.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2651, allocations: 0 / 438.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.2652, allocations: 31.98 kB / 438.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.2652, allocations: 7.938 kB / 438.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.2652, allocations: 4 kB / 438.4 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.499e-05/0.2652, allocations: 15.95 kB / 438.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.2652, allocations: 3.938 kB / 438.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004138/0.2656, allocations: 353.2 kB / 438.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.85e-05/0.2657, allocations: 39.77 kB / 438.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.2657, allocations: 4 kB / 438.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.2659, allocations: 15.98 kB / 438.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.2659, allocations: 11.88 kB / 438.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.2659, allocations: 8 kB / 438.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001183/0.2661, allocations: 132.4 kB / 438.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2661, allocations: 4 kB / 438.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003312/0.2664, allocations: 20 kB / 438.9 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.0008924/0.2673, allocations: 0.9551 MB / 439.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002904/0.2676, allocations: 119.8 kB / 440 MB, free: 13.13 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2676, allocations: 0 / 440 MB, free: 13.13 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.297e-05/0.2676, allocations: 11.98 kB / 440 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006136/0.2682, allocations: 104.1 kB / 440.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002319/0.2705, allocations: 2.089 MB / 442.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.2707, allocations: 119.4 kB / 442.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.95e-05/0.2707, allocations: 13.48 kB / 442.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.764e-05/0.2708, allocations: 43.42 kB / 442.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2708, allocations: 0 / 442.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0326/0.3034, allocations: 4.209 MB / 446.6 MB, free: 6.488 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.56, allocations: 9.938 kB / 446.6 MB, free: 6.484 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.256331759039313]