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.001723/0.001723, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002357/0.002357, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.536/1.536, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.001726/0.001726, allocations: 51.92 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1255, allocations: 53.33 MB / 426.3 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003758/0.1293, allocations: 1.875 MB / 428.2 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.1309, allocations: 0.6974 MB / 428.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.131, allocations: 11.94 kB / 428.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.1312, allocations: 31.67 kB / 428.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.1313, allocations: 19.8 kB / 429 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004242/0.1318, allocations: 107.2 kB / 429.1 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.132, allocations: 143.6 kB / 429.2 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.1321, allocations: 49.7 kB / 429.3 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.1323, allocations: 71.64 kB / 429.3 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.1324, allocations: 47.72 kB / 429.4 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.1324, allocations: 8 kB / 429.4 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.832e-05/0.1324, allocations: 16 kB / 429.4 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.188e-05/0.1325, allocations: 35.86 kB / 429.4 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.922e-05/0.1326, allocations: 67.53 kB / 429.5 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.1328, allocations: 151.2 kB / 429.6 MB, free: 1.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1328, allocations: 0 / 429.6 MB, free: 1.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1328, allocations: 0 / 429.6 MB, free: 1.469 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.1328, allocations: 0 / 429.6 MB, free: 1.469 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.0006745/0.1335, allocations: 458.8 kB / 430.1 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.1335, allocations: 8.031 kB / 430.1 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.43e-05/0.1336, allocations: 50.73 kB / 430.1 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.1338, allocations: 20.84 kB / 430.2 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.1342, allocations: 256.1 kB / 430.4 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.1342, allocations: 7.938 kB / 430.4 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.1342, allocations: 8 kB / 430.4 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000602/0.1348, allocations: 288.2 kB / 430.7 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1348, allocations: 8 kB / 430.7 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.1348, allocations: 0 / 430.7 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1348, allocations: 4 kB / 430.7 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002244/0.1351, allocations: 71.89 kB / 430.8 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005837/0.1356, allocations: 435.4 kB / 431.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005296/0.1362, allocations: 282.1 kB / 431.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.1364, allocations: 104.3 kB / 431.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.1364, allocations: 7.984 kB / 431.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.1364, allocations: 38.56 kB / 431.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.222e-06/0.1364, allocations: 0 / 431.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006602/0.1371, allocations: 225.8 kB / 431.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.1372, allocations: 195.9 kB / 432.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.1374, allocations: 186.2 kB / 432.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.1375, allocations: 29.64 kB / 432.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.916e-05/0.1375, allocations: 104.5 kB / 432.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.1376, allocations: 15.94 kB / 432.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.078e-05/0.1376, allocations: 37.67 kB / 432.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.1378, allocations: 330.8 kB / 432.7 MB, free: 14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.2e-05/0.1379, allocations: 27.98 kB / 432.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.1381, allocations: 141.1 kB / 432.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002326/0.1383, allocations: 166.4 kB / 433.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/0.1383, allocations: 4 kB / 433.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003026/0.1386, allocations: 177.3 kB / 433.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1386, allocations: 6.188 kB / 433.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1386, allocations: 4 kB / 433.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.49e-05/0.1387, allocations: 8 kB / 433.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.1388, allocations: 35.92 kB / 433.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.247e-05/0.1389, allocations: 19.84 kB / 433.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.139, allocations: 20.36 kB / 433.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.139, allocations: 12 kB / 433.4 MB, free: 13.28 MB / 366.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.0001313/0.1391, allocations: 133.8 kB / 433.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004511/0.1396, allocations: 145.9 kB / 433.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.408e-05/0.1396, allocations: 25.39 kB / 433.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.1396, allocations: 4 kB / 433.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.1396, allocations: 3.938 kB / 433.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1396, allocations: 4 kB / 433.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004627/0.1401, allocations: 221.5 kB / 433.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1401, allocations: 0 / 433.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.1402, allocations: 39.97 kB / 433.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.1402, allocations: 4 kB / 433.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.1403, allocations: 0 / 433.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.676e-05/0.1403, allocations: 7.938 kB / 433.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1403, allocations: 3.938 kB / 433.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004781/0.1407, allocations: 365.2 kB / 434.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.1409, allocations: 116.9 kB / 434.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.1409, allocations: 4 kB / 434.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.141, allocations: 11.98 kB / 434.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.1411, allocations: 15.88 kB / 434.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.1411, allocations: 15.94 kB / 434.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001158/0.1412, allocations: 128.4 kB / 434.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1412, allocations: 0 / 434.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003245/0.1415, allocations: 31.95 kB / 434.6 MB, free: 11.91 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: 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.001003/0.1425, allocations: 0.9484 MB / 435.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003095/0.1428, allocations: 126.2 kB / 435.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1428, allocations: 0 / 435.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.547e-05/0.1429, allocations: 11.98 kB / 435.7 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006368/0.1435, allocations: 101 kB / 435.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002411/0.1459, allocations: 2.085 MB / 437.9 MB, free: 8.414 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.1463, allocations: 0.7319 MB / 438.6 MB, free: 7.656 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.06e-05/0.1464, allocations: 21.72 kB / 438.6 MB, free: 7.637 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.92e-05/0.1465, allocations: 39.42 kB / 438.7 MB, free: 7.598 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1465, allocations: 0 / 438.7 MB, free: 7.598 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03391/0.1804, allocations: 3.522 MB / 442.2 MB, free: 4.234 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.933/8.114, allocations: 14.62 kB / 442.2 MB, free: 4.223 MB / 366.1 MB " [Timeout remaining time 652] (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: 10.94867925599101]