Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.001568/0.001568, allocations: 124 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.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.001806/0.001806, allocations: 190.9 kB / 20.73 MB, free: 2.328 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.536/1.536, allocations: 225.6 MB / 249.1 MB, free: 3.625 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.HoldWithDAeffects1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 51.92 kB / 365.6 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1122, allocations: 52.15 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003534/0.1157, allocations: 1.873 MB / 419.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.117, allocations: 0.6273 MB / 420.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.1171, allocations: 11.88 kB / 420.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001513/0.1172, allocations: 19.78 kB / 420.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.1174, allocations: 19.81 kB / 420.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.1177, allocations: 107.7 kB / 420.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.118, allocations: 139.6 kB / 420.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.1181, allocations: 49.7 kB / 420.6 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.1182, allocations: 55.72 kB / 420.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.932e-05/0.1183, allocations: 59.7 kB / 420.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.1184, allocations: 8 kB / 420.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.219e-05/0.1184, allocations: 12 kB / 420.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.114e-05/0.1184, allocations: 19.92 kB / 420.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.398e-05/0.1185, allocations: 67.55 kB / 420.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.1187, allocations: 143.3 kB / 421 MB, free: 9.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1187, allocations: 3.984 kB / 421 MB, free: 9.402 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1187, allocations: 0 / 421 MB, free: 9.402 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1188, allocations: 0 / 421 MB, free: 9.402 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.000716/0.1195, allocations: 458.8 kB / 421.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.1195, allocations: 12.03 kB / 421.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.494e-05/0.1196, allocations: 42.73 kB / 421.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.907e-05/0.1196, allocations: 24.8 kB / 421.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004267/0.1201, allocations: 245 kB / 421.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.1201, allocations: 7.938 kB / 421.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.1201, allocations: 16 kB / 421.8 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006182/0.1207, allocations: 268.3 kB / 422 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.1207, allocations: 0 / 422 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.1207, allocations: 11.94 kB / 422.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.1208, allocations: 0 / 422.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002312/0.121, allocations: 71.83 kB / 422.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000549/0.1215, allocations: 435.4 kB / 422.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000512/0.122, allocations: 286.1 kB / 422.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.1222, allocations: 100.2 kB / 422.9 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.1223, allocations: 8 kB / 422.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.1223, allocations: 46.48 kB / 423 MB, free: 7.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.513e-06/0.1223, allocations: 0 / 423 MB, free: 7.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005981/0.1229, allocations: 213.6 kB / 423.2 MB, free: 6.918 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001438/0.1231, allocations: 195.9 kB / 423.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.1233, allocations: 183.1 kB / 423.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.1233, allocations: 25.7 kB / 423.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.703e-05/0.1234, allocations: 104.1 kB / 423.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.1234, allocations: 15.94 kB / 423.7 MB, free: 6.344 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.606e-05/0.1234, allocations: 37.8 kB / 423.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1236, allocations: 326.8 kB / 424.1 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.787e-05/0.1237, allocations: 19.98 kB / 424.1 MB, free: 5.953 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.1238, allocations: 136.7 kB / 424.2 MB, free: 5.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.124, allocations: 153.5 kB / 424.4 MB, free: 5.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.124, allocations: 4 kB / 424.4 MB, free: 5.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002826/0.1243, allocations: 165.3 kB / 424.5 MB, free: 5.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.1243, allocations: 12.31 kB / 424.5 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1243, allocations: 4 kB / 424.5 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.1244, allocations: 4 kB / 424.5 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.1245, allocations: 35.92 kB / 424.6 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.1245, allocations: 11.88 kB / 424.6 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.1246, allocations: 24.34 kB / 424.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.1246, allocations: 15.94 kB / 424.6 MB, free: 5.293 MB / 350.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.0001197/0.1248, allocations: 129.8 kB / 424.8 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002999/0.1251, allocations: 149.5 kB / 424.9 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.383e-05/0.1251, allocations: 21.44 kB / 424.9 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.1251, allocations: 4 kB / 424.9 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.1251, allocations: 4 kB / 424.9 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.1251, allocations: 7.984 kB / 424.9 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003105/0.1254, allocations: 221.6 kB / 425.2 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.1254, allocations: 4 kB / 425.2 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.1256, allocations: 35.91 kB / 425.2 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.1256, allocations: 7.938 kB / 425.2 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.1256, allocations: 4 kB / 425.2 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1256, allocations: 0 / 425.2 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1256, allocations: 0 / 425.2 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004427/0.126, allocations: 357.2 kB / 425.6 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.1262, allocations: 112.9 kB / 425.7 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/0.1262, allocations: 11.98 kB / 425.7 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.1263, allocations: 8 kB / 425.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.1264, allocations: 7.984 kB / 425.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.1264, allocations: 8 kB / 425.7 MB, free: 4.105 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.1265, allocations: 129.2 kB / 425.8 MB, free: 3.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1265, allocations: 0 / 425.8 MB, free: 3.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003236/0.1268, allocations: 20 kB / 425.8 MB, free: 3.961 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: 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.0008226/0.1276, allocations: 0.8995 MB / 426.7 MB, free: 3.027 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002989/0.1279, allocations: 111.8 kB / 426.9 MB, free: 2.918 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.128, allocations: 0 / 426.9 MB, free: 2.918 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.929e-05/0.128, allocations: 15.98 kB / 426.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006762/0.1287, allocations: 103.5 kB / 427 MB, free: 2.805 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00265/0.1313, allocations: 2.069 MB / 429 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.1317, allocations: 0.7279 MB / 429.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.545e-05/0.1318, allocations: 17.55 kB / 429.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.346e-05/0.1319, allocations: 43.36 kB / 429.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1319, allocations: 0 / 429.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02776/0.1596, allocations: 3.414 MB / 433.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.723/8.883, allocations: 7.922 kB / 433.3 MB, free: 12.48 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv failed! Error: Could not read variable hold1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv. Warning: Get data of variable hold1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.803431037813425]