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.0008468/0.0008468, allocations: 76.08 kB / 20.67 MB, free: 3.895 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.0007875/0.0007875, allocations: 153.1 kB / 23.93 MB, free: 0.6328 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.8658/0.8658, allocations: 173.4 MB / 200.4 MB, free: 9.445 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.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 2.164e-06/2.164e-06, allocations: 0 / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/2.962e-05, allocations: 10.22 kB / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.00355/0.003579, allocations: 1.815 MB / 320.3 MB, free: 4.527 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.004688, allocations: 0.5999 MB / 320.9 MB, free: 3.926 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.00483, allocations: 7.938 kB / 320.9 MB, free: 3.918 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.004987, allocations: 23.67 kB / 320.9 MB, free: 3.895 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001477/0.005135, allocations: 27.8 kB / 320.9 MB, free: 3.867 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003827/0.005518, allocations: 102.8 kB / 321 MB, free: 3.77 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.005732, allocations: 143.5 kB / 321.2 MB, free: 3.629 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.005898, allocations: 49.94 kB / 321.2 MB, free: 3.578 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.006053, allocations: 79.69 kB / 321.3 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.698e-05/0.00614, allocations: 35.89 kB / 321.3 MB, free: 3.465 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.451e-05/0.006175, allocations: 8 kB / 321.3 MB, free: 3.457 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.006e-05/0.006195, allocations: 15.94 kB / 321.3 MB, free: 3.441 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.461e-05/0.006259, allocations: 31.91 kB / 321.4 MB, free: 3.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.34e-05/0.006313, allocations: 35.86 kB / 321.4 MB, free: 3.375 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003924/0.006705, allocations: 147.5 kB / 321.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.006708, allocations: 0 / 321.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.006709, allocations: 0 / 321.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.006714, allocations: 0 / 321.6 MB, free: 3.23 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.000565/0.007279, allocations: 377 kB / 321.9 MB, free: 2.836 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.007324, allocations: 8.922 kB / 321.9 MB, free: 2.828 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.392e-05/0.007367, allocations: 46.73 kB / 322 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.271e-05/0.00741, allocations: 20.8 kB / 322 MB, free: 2.754 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.007749, allocations: 191.3 kB / 322.2 MB, free: 2.539 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.007766, allocations: 8.562 kB / 322.2 MB, free: 2.531 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.007783, allocations: 12.12 kB / 322.2 MB, free: 2.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005575/0.008341, allocations: 313.9 kB / 322.5 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.00835, allocations: 0 / 322.5 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.008369, allocations: 8 kB / 322.5 MB, free: 2.168 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.008374, allocations: 0 / 322.5 MB, free: 2.168 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.008559, allocations: 67.89 kB / 322.6 MB, free: 2.102 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005137/0.009073, allocations: 386.5 kB / 323 MB, free: 1.668 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003986/0.009471, allocations: 209 kB / 323.2 MB, free: 1.418 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.009639, allocations: 104.4 kB / 323.3 MB, free: 1.301 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.009665, allocations: 7.938 kB / 323.3 MB, free: 1.293 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.009691, allocations: 42.44 kB / 323.3 MB, free: 1.242 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 1.503e-06/0.009693, allocations: 0 / 323.3 MB, free: 1.242 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005208/0.01021, allocations: 217.4 kB / 323.5 MB, free: 1.023 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001466/0.01036, allocations: 195.9 kB / 323.7 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.01049, allocations: 175.2 kB / 323.9 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.01051, allocations: 33.7 kB / 323.9 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.312e-05/0.01056, allocations: 108.4 kB / 324 MB, free: 468 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.01058, allocations: 7.953 kB / 324 MB, free: 460 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.01061, allocations: 21.7 kB / 324.1 MB, free: 432 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.599e-05/0.0107, allocations: 327.1 kB / 324.4 MB, free: 96 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4e-05/0.01074, allocations: 16 kB / 324.4 MB, free: 80 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.846e-05/0.01078, allocations: 61.12 kB / 324.5 MB, free: 0 / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.045e-05/0.01084, allocations: 46.5 kB / 324.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.01085, allocations: 0 / 324.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.48e-05/0.01094, allocations: 77.69 kB / 324.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.01095, allocations: 8 kB / 324.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.01096, allocations: 4 kB / 324.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.01097, allocations: 0 / 324.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.544e-05/0.01103, allocations: 11.98 kB / 324.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.01103, allocations: 0 / 324.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.318e-05/0.01107, allocations: 7.953 kB / 324.6 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-06/0.01107, allocations: 0 / 324.6 MB, free: 15.83 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 8.721e-05/0.01116, allocations: 130 kB / 324.7 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.01133, allocations: 145.5 kB / 324.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.772e-05/0.01137, allocations: 29.45 kB / 324.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.01137, allocations: 4 kB / 324.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.01138, allocations: 0 / 324.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.01138, allocations: 3.938 kB / 324.9 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.01156, allocations: 180.5 kB / 325.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01156, allocations: 4 kB / 325.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.462e-05/0.01164, allocations: 35.92 kB / 325.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.01164, allocations: 0 / 325.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.01165, allocations: 8 kB / 325.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.01166, allocations: 12.02 kB / 325.1 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.01166, allocations: 4 kB / 325.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.01189, allocations: 356 kB / 325.5 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.217e-05/0.01194, allocations: 39.81 kB / 325.5 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.01196, allocations: 4 kB / 325.5 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.781e-05/0.01204, allocations: 11.98 kB / 325.6 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.343e-05/0.01206, allocations: 4 kB / 325.6 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.01207, allocations: 8 kB / 325.6 MB, free: 14.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.646e-05/0.01215, allocations: 141.1 kB / 325.7 MB, free: 14.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01215, allocations: 3.938 kB / 325.7 MB, free: 14.65 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001939/0.01234, allocations: 19.94 kB / 325.7 MB, free: 14.63 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: 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.0005273/0.01287, allocations: 0.9523 MB / 326.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000147/0.01302, allocations: 72.5 kB / 326.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01302, allocations: 0 / 326.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.33e-05/0.01304, allocations: 19.92 kB / 326.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004143/0.01346, allocations: 103.4 kB / 326.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.01466, allocations: 1.738 MB / 328.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.714e-05/0.01475, allocations: 115.4 kB / 328.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.602e-05/0.01479, allocations: 13.14 kB / 328.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.385e-05/0.01484, allocations: 36.67 kB / 328.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01484, allocations: 4 kB / 328.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01658/0.03142, allocations: 4.14 MB / 332.9 MB, free: 7.418 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.91/6.941, allocations: 7.156 kB / 332.9 MB, free: 7.414 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins/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: 8.702999388799071]