Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.001368/0.001368, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.002023/0.002023, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.672/1.672, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.HoldWithDAeffects1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 51.92 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1206, allocations: 53.33 MB / 426.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003511/0.1241, allocations: 1.879 MB / 428.2 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.1255, allocations: 0.6975 MB / 428.9 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.1256, allocations: 11.88 kB / 428.9 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.1257, allocations: 23.73 kB / 428.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.1259, allocations: 27.78 kB / 429 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003998/0.1263, allocations: 107.7 kB / 429.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.1265, allocations: 139.6 kB / 429.2 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.1266, allocations: 45.7 kB / 429.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.1268, allocations: 63.7 kB / 429.3 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.925e-05/0.1269, allocations: 47.72 kB / 429.4 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.1269, allocations: 15.94 kB / 429.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.518e-05/0.127, allocations: 20 kB / 429.4 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.72e-05/0.1271, allocations: 39.83 kB / 429.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.647e-05/0.1271, allocations: 59.61 kB / 429.5 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.1274, allocations: 155.2 kB / 429.6 MB, free: 1.434 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1274, allocations: 0 / 429.6 MB, free: 1.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1274, allocations: 0 / 429.6 MB, free: 1.434 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1274, allocations: 0 / 429.6 MB, free: 1.434 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.0006878/0.1281, allocations: 458.8 kB / 430.1 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1281, allocations: 12.03 kB / 430.1 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.159e-05/0.1282, allocations: 42.73 kB / 430.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001606/0.1283, allocations: 24.83 kB / 430.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.1287, allocations: 252.2 kB / 430.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.1288, allocations: 11.94 kB / 430.4 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.1288, allocations: 12 kB / 430.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005754/0.1294, allocations: 274.4 kB / 430.7 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1294, allocations: 0 / 430.7 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.1294, allocations: 4 kB / 430.7 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.1294, allocations: 3.984 kB / 430.7 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.1296, allocations: 79.83 kB / 430.8 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005321/0.1301, allocations: 431.4 kB / 431.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004919/0.1306, allocations: 286.1 kB / 431.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/0.1308, allocations: 96.31 kB / 431.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.1309, allocations: 11.98 kB / 431.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.1309, allocations: 46.44 kB / 431.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.192e-06/0.1309, allocations: 0 / 431.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006129/0.1315, allocations: 221.9 kB / 431.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.1316, allocations: 192 kB / 432 MB, free: 14.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.1318, allocations: 182.3 kB / 432.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.1318, allocations: 25.7 kB / 432.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.87e-05/0.1319, allocations: 108.1 kB / 432.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.132, allocations: 11.98 kB / 432.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.41e-05/0.132, allocations: 41.75 kB / 432.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1322, allocations: 326.8 kB / 432.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.336e-05/0.1322, allocations: 27.83 kB / 432.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.1324, allocations: 126.6 kB / 432.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/0.1326, allocations: 157.5 kB / 433 MB, free: 13.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1326, allocations: 0 / 433 MB, free: 13.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003006/0.1329, allocations: 169.3 kB / 433.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.1329, allocations: 11.94 kB / 433.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.1329, allocations: 4 kB / 433.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.133, allocations: 4 kB / 433.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.1331, allocations: 31.92 kB / 433.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.1331, allocations: 4 kB / 433.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.1332, allocations: 20.33 kB / 433.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.1332, allocations: 12 kB / 433.3 MB, free: 13.32 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (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 prepare postOptimizeDAE: time 0.0001224/0.1333, allocations: 133.8 kB / 433.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002996/0.1336, allocations: 141.4 kB / 433.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.795e-05/0.1337, allocations: 29.33 kB / 433.6 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1337, allocations: 4 kB / 433.6 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1337, allocations: 0 / 433.6 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1337, allocations: 3.938 kB / 433.6 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003175/0.134, allocations: 229.5 kB / 433.8 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.134, allocations: 0 / 433.8 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.1342, allocations: 35.97 kB / 433.8 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.1342, allocations: 7.938 kB / 433.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.1342, allocations: 4 kB / 433.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.1342, allocations: 4 kB / 433.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1342, allocations: 3.938 kB / 433.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004345/0.1346, allocations: 359.6 kB / 434.2 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.1347, allocations: 109 kB / 434.3 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.859e-05/0.1348, allocations: 11.94 kB / 434.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.1349, allocations: 7.984 kB / 434.3 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.135, allocations: 8 kB / 434.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.135, allocations: 15.98 kB / 434.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001266/0.1351, allocations: 132.4 kB / 434.5 MB, free: 12 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1351, allocations: 0 / 434.5 MB, free: 12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003312/0.1355, allocations: 20 kB / 434.5 MB, free: 11.98 MB / 366.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: 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.0007889/0.1362, allocations: 0.8975 MB / 435.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003148/0.1366, allocations: 115.9 kB / 435.5 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1366, allocations: 0 / 435.5 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.151e-05/0.1366, allocations: 15.98 kB / 435.5 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000682/0.1373, allocations: 99.58 kB / 435.6 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002672/0.14, allocations: 2.067 MB / 437.7 MB, free: 8.559 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.1403, allocations: 0.7163 MB / 438.4 MB, free: 7.816 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.352e-05/0.1404, allocations: 25.53 kB / 438.4 MB, free: 7.793 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.165e-05/0.1405, allocations: 43.42 kB / 438.5 MB, free: 7.754 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1405, allocations: 7.875 kB / 438.5 MB, free: 7.746 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0283/0.1688, allocations: 3.414 MB / 441.9 MB, free: 4.492 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.901/8.07, allocations: 11.69 kB / 441.9 MB, free: 4.484 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv failed! Error: Could not read variable hold1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv. Warning: Get data of variable hold1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.02835043000232]