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.001779/0.001779, allocations: 124.1 kB / 17.79 MB, free: 5.25 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.00201/0.00201, allocations: 198.8 kB / 20.73 MB, free: 2.309 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.657/1.657, allocations: 225.6 MB / 249.1 MB, free: 3.586 MB / 190.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.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 0.001687/0.001687, allocations: 51.92 kB / 365.7 MB, free: 0.793 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1237, allocations: 52.14 MB / 417.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003517/0.1273, allocations: 1.872 MB / 419.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.1285, allocations: 0.6273 MB / 420.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.1286, allocations: 11.88 kB / 420.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.1288, allocations: 19.8 kB / 420.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.1289, allocations: 27.8 kB / 420.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004168/0.1293, allocations: 103.7 kB / 420.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.1296, allocations: 143.5 kB / 420.6 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.1297, allocations: 41.72 kB / 420.6 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.1298, allocations: 59.72 kB / 420.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.282e-05/0.1299, allocations: 55.69 kB / 420.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.846e-05/0.1299, allocations: 8 kB / 420.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.161e-05/0.13, allocations: 12 kB / 420.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.247e-05/0.13, allocations: 23.92 kB / 420.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.759e-05/0.1301, allocations: 67.55 kB / 420.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.1303, allocations: 151.2 kB / 421 MB, free: 9.336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1303, allocations: 0 / 421 MB, free: 9.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1303, allocations: 0 / 421 MB, free: 9.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.1303, allocations: 0 / 421 MB, free: 9.336 MB / 350.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.0006869/0.131, allocations: 454.8 kB / 421.4 MB, free: 8.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.1311, allocations: 12.03 kB / 421.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.768e-05/0.1311, allocations: 38.73 kB / 421.5 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.799e-05/0.1311, allocations: 24.8 kB / 421.5 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.1315, allocations: 249 kB / 421.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.1315, allocations: 11.94 kB / 421.8 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.1315, allocations: 12 kB / 421.8 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006351/0.1322, allocations: 282.3 kB / 422.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1322, allocations: 0 / 422.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.1322, allocations: 11.94 kB / 422.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1322, allocations: 0 / 422.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.1324, allocations: 75.88 kB / 422.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005267/0.1329, allocations: 431.5 kB / 422.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005108/0.1335, allocations: 290 kB / 422.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/0.1337, allocations: 104.4 kB / 423 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.1337, allocations: 3.938 kB / 423 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.1337, allocations: 42.56 kB / 423 MB, free: 7.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 1.372e-06/0.1337, allocations: 0 / 423 MB, free: 7.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006066/0.1343, allocations: 217.3 kB / 423.2 MB, free: 6.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/0.1345, allocations: 196.2 kB / 423.4 MB, free: 6.605 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.1347, allocations: 187.1 kB / 423.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.1347, allocations: 33.7 kB / 423.6 MB, free: 6.375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.196e-05/0.1348, allocations: 100.5 kB / 423.7 MB, free: 6.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/0.1348, allocations: 27.81 kB / 423.7 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-05/0.1349, allocations: 37.7 kB / 423.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.135, allocations: 318.8 kB / 424.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.339e-05/0.1351, allocations: 27.98 kB / 424.1 MB, free: 5.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.1353, allocations: 139.4 kB / 424.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002612/0.1355, allocations: 174.4 kB / 424.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1355, allocations: 0 / 424.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003131/0.1358, allocations: 177.6 kB / 424.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1359, allocations: 10.19 kB / 424.6 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1359, allocations: 4 kB / 424.6 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.1359, allocations: 7.938 kB / 424.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.136, allocations: 43.91 kB / 424.7 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.136, allocations: 7.938 kB / 424.7 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.1361, allocations: 15.95 kB / 424.7 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.1362, allocations: 8 kB / 424.7 MB, free: 5.164 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.0001428/0.1363, allocations: 141.8 kB / 424.8 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003172/0.1366, allocations: 141.5 kB / 425 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.934e-05/0.1367, allocations: 29.39 kB / 425 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1367, allocations: 0 / 425 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.1367, allocations: 7.938 kB / 425 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1367, allocations: 0 / 425 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003138/0.137, allocations: 217.5 kB / 425.2 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.137, allocations: 0 / 425.2 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.1372, allocations: 39.92 kB / 425.3 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.1372, allocations: 8.031 kB / 425.3 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.1372, allocations: 0 / 425.3 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.1372, allocations: 7.984 kB / 425.3 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.1372, allocations: 3.938 kB / 425.3 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004624/0.1376, allocations: 361.6 kB / 425.6 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.1378, allocations: 120.9 kB / 425.7 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.1378, allocations: 4 kB / 425.8 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.1379, allocations: 11.98 kB / 425.8 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.138, allocations: 7.938 kB / 425.8 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.138, allocations: 8 kB / 425.8 MB, free: 3.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001373/0.1381, allocations: 133.2 kB / 425.9 MB, free: 3.832 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1381, allocations: 0 / 425.9 MB, free: 3.832 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003362/0.1385, allocations: 28 kB / 425.9 MB, free: 3.805 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.001044/0.1395, allocations: 0.9523 MB / 426.9 MB, free: 2.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003276/0.1398, allocations: 119 kB / 427 MB, free: 2.703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1398, allocations: 4 kB / 427 MB, free: 2.699 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.677e-05/0.1399, allocations: 11.92 kB / 427 MB, free: 2.688 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006795/0.1406, allocations: 118.3 kB / 427.1 MB, free: 2.574 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/0.1431, allocations: 2.079 MB / 429.2 MB, free: 300 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/0.1435, allocations: 0.724 MB / 429.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.571e-05/0.1436, allocations: 21.55 kB / 430 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.024e-05/0.1436, allocations: 47.42 kB / 430 MB, free: 15.48 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1436, allocations: 0 / 430 MB, free: 15.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02877/0.1724, allocations: 3.502 MB / 433.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.456/8.628, allocations: 7.859 kB / 433.5 MB, free: 12.14 MB / 366.1 MB " [Timeout remaining time 651] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins1/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: 11.707624110858887]