Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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.001295/0.001295, allocations: 120.1 kB / 17.78 MB, free: 5.23 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.001428/0.001428, allocations: 198.8 kB / 20.73 MB, free: 2.289 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.423/1.423, allocations: 225.6 MB / 249.1 MB, free: 3.613 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.BooleanSignals.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 51.92 kB / 365.6 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09957/0.1011, allocations: 52.14 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003462/0.1045, allocations: 1.919 MB / 419.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001954/0.1065, allocations: 1.079 MB / 420.8 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.1066, allocations: 7.938 kB / 420.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000698/0.1073, allocations: 155.5 kB / 420.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000401/0.1077, allocations: 111.6 kB / 421 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009075/0.1086, allocations: 202.8 kB / 421.2 MB, free: 9.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003802/0.109, allocations: 183.5 kB / 421.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.1091, allocations: 25.55 kB / 421.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.1093, allocations: 91.56 kB / 421.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.1095, allocations: 79.67 kB / 421.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.518e-05/0.1095, allocations: 8 kB / 421.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001972/0.1097, allocations: 63.89 kB / 421.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.046e-05/0.1098, allocations: 39.84 kB / 421.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.1099, allocations: 71.55 kB / 421.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004634/0.1104, allocations: 215 kB / 422 MB, free: 8.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1104, allocations: 0 / 422 MB, free: 8.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1104, allocations: 0 / 422 MB, free: 8.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1104, allocations: 0 / 422 MB, free: 8.379 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001081/0.1115, allocations: 0.5232 MB / 422.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.1115, allocations: 8.031 kB / 422.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.323e-05/0.1116, allocations: 38.75 kB / 422.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.655e-05/0.1117, allocations: 20.8 kB / 422.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005153/0.1122, allocations: 271 kB / 422.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.1122, allocations: 8.375 kB / 422.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.1123, allocations: 11.94 kB / 422.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004912/0.1128, allocations: 170 kB / 423 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1128, allocations: 0 / 423 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.1128, allocations: 0 / 423 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.118e-06/0.1128, allocations: 8 kB / 423 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.113, allocations: 39.91 kB / 423.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008026/0.1138, allocations: 454.5 kB / 423.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004099/0.1142, allocations: 130.5 kB / 423.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.1143, allocations: 51.42 kB / 423.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.1144, allocations: 7.938 kB / 423.7 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002534/0.1146, allocations: 89.09 kB / 423.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 2.144e-06/0.1146, allocations: 0 / 423.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006173/0.1152, allocations: 165.5 kB / 424 MB, free: 6.152 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001516/0.1154, allocations: 162.2 kB / 424.1 MB, free: 5.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004293/0.1158, allocations: 276.9 kB / 424.4 MB, free: 5.672 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.1159, allocations: 25.7 kB / 424.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.116, allocations: 124.4 kB / 424.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.116, allocations: 23.83 kB / 424.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-05/0.1161, allocations: 33.89 kB / 424.6 MB, free: 5.449 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1162, allocations: 330.8 kB / 424.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.816e-05/0.1163, allocations: 19.98 kB / 424.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.1164, allocations: 78.84 kB / 425 MB, free: 4.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.1166, allocations: 93.38 kB / 425.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1166, allocations: 0 / 425.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002504/0.1168, allocations: 133.5 kB / 425.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1168, allocations: 8.031 kB / 425.2 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1168, allocations: 4 kB / 425.2 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1169, allocations: 0 / 425.2 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.694e-05/0.117, allocations: 15.94 kB / 425.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.117, allocations: 0 / 425.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.036e-05/0.117, allocations: 19.92 kB / 425.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.1171, allocations: 4 kB / 425.3 MB, free: 4.699 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001544/0.1172, allocations: 146.9 kB / 425.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.469e-05/0.1173, allocations: 65.56 kB / 425.5 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.289e-05/0.1174, allocations: 25.7 kB / 425.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1174, allocations: 4 kB / 425.5 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1174, allocations: 0 / 425.5 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.1174, allocations: 11.92 kB / 425.5 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.1176, allocations: 225.5 kB / 425.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1176, allocations: 4 kB / 425.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.244e-05/0.1177, allocations: 11.92 kB / 425.8 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1177, allocations: 0 / 425.8 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.1177, allocations: 4.062 kB / 425.8 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1177, allocations: 4 kB / 425.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1177, allocations: 0 / 425.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.118, allocations: 183.3 kB / 426 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.1181, allocations: 101 kB / 426.1 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.1181, allocations: 16.06 kB / 426.1 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.264e-05/0.1182, allocations: 3.984 kB / 426.1 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.1182, allocations: 7.938 kB / 426.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.1182, allocations: 12 kB / 426.1 MB, free: 3.777 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002048/0.1184, allocations: 192.5 kB / 426.3 MB, free: 3.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1184, allocations: 0 / 426.3 MB, free: 3.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.1187, allocations: 39.88 kB / 426.3 MB, free: 3.551 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002059/0.1208, allocations: 1.018 MB / 427.3 MB, free: 2.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002377/0.121, allocations: 83.97 kB / 427.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.121, allocations: 0 / 427.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.009e-05/0.1211, allocations: 31.92 kB / 427.5 MB, free: 2.547 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/0.1215, allocations: 64.3 kB / 427.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002709/0.1242, allocations: 2.01 MB / 429.5 MB, free: 356 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.1246, allocations: 0.7241 MB / 430.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.097e-05/0.1247, allocations: 29.52 kB / 430.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.697e-05/0.1248, allocations: 51.42 kB / 430.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1248, allocations: 0 / 430.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05375/0.1786, allocations: 4.748 MB / 435.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.16/8.339, allocations: 13.77 kB / 435.1 MB, free: 10.84 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.98963e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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.BooleanSignals.Hold_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv failed! Error: Could not read variable shiftSample1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv. Warning: Get data of variable shiftSample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv failed! Error: Could not read variable hold1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv. Warning: Get data of variable hold1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.135261819697917]