Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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.001651/0.001651, allocations: 123 kB / 17.79 MB, free: 5.246 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.002084/0.002084, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.474/1.474, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.BooleanSignals.Hold,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 43.94 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1522, allocations: 53.32 MB / 426.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.004439/0.1566, allocations: 1.928 MB / 428.2 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002423/0.159, allocations: 1.235 MB / 429.5 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/0.1592, allocations: 7.938 kB / 429.5 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007444/0.16, allocations: 147.5 kB / 429.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005054/0.1605, allocations: 159.4 kB / 429.8 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005643/0.161, allocations: 179 kB / 430 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003066/0.1613, allocations: 191.5 kB / 430.1 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.1615, allocations: 25.67 kB / 430.2 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.1616, allocations: 87.56 kB / 430.3 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.1617, allocations: 79.62 kB / 430.3 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.1617, allocations: 8 kB / 430.3 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001825/0.1619, allocations: 67.89 kB / 430.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.786e-05/0.162, allocations: 43.84 kB / 430.4 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.737e-05/0.1621, allocations: 79.47 kB / 430.5 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003799/0.1625, allocations: 223 kB / 430.7 MB, free: 340 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1625, allocations: 0 / 430.7 MB, free: 340 kB / 350.1 MB Notification: Performance of FrontEnd: time 4.358e-06/0.1625, allocations: 4 kB / 430.7 MB, free: 336 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.1625, allocations: 4 kB / 430.7 MB, free: 332 kB / 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.2159/0.3784, allocations: 0.5151 MB / 431.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.3784, allocations: 7.281 kB / 431.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.753e-05/0.3785, allocations: 39.94 kB / 431.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.776e-05/0.3785, allocations: 23.73 kB / 431.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.3789, allocations: 273.6 kB / 431.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.3789, allocations: 6.422 kB / 431.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.379, allocations: 11.81 kB / 431.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003522/0.3793, allocations: 164.2 kB / 431.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3793, allocations: 5.969 kB / 431.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.3793, allocations: 6.219 kB / 431.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.3793, allocations: 1.812 kB / 431.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.3795, allocations: 38.48 kB / 431.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004924/0.3799, allocations: 448.4 kB / 432.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.3802, allocations: 129.8 kB / 432.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.045e-05/0.3803, allocations: 55.12 kB / 432.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.3803, allocations: 5.094 kB / 432.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/0.3805, allocations: 97.53 kB / 432.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.3805, allocations: 0 / 432.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.000409/0.3809, allocations: 161.1 kB / 432.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.3809, allocations: 161.8 kB / 432.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.3812, allocations: 278 kB / 433.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.3812, allocations: 31.11 kB / 433.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.594e-05/0.3813, allocations: 121.5 kB / 433.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.3813, allocations: 16.44 kB / 433.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.281e-05/0.3814, allocations: 40.45 kB / 433.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.5e-05/0.3814, allocations: 334.1 kB / 433.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.508e-05/0.3815, allocations: 21.89 kB / 433.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.3816, allocations: 86.69 kB / 433.8 MB, free: 9.504 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.3817, allocations: 88.52 kB / 433.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3817, allocations: 0.5625 kB / 433.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002134/0.382, allocations: 128.5 kB / 434 MB, free: 9.418 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.382, allocations: 5 kB / 434 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.382, allocations: 7.172 kB / 434 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.382, allocations: 0.875 kB / 434 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-05/0.3821, allocations: 11.59 kB / 434 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.3821, allocations: 2.625 kB / 434 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.379e-05/0.3822, allocations: 19.12 kB / 434 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.3822, allocations: 4.562 kB / 434 MB, free: 9.414 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 9.982e-05/0.3823, allocations: 156.5 kB / 434.2 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.585e-05/0.3823, allocations: 69.86 kB / 434.3 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.961e-05/0.3824, allocations: 27 kB / 434.3 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3824, allocations: 4.828 kB / 434.3 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3824, allocations: 1.75 kB / 434.3 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3824, allocations: 1.094 kB / 434.3 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.3826, allocations: 235.2 kB / 434.5 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3826, allocations: 0.625 kB / 434.5 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.729e-05/0.3826, allocations: 12.64 kB / 434.5 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3826, allocations: 6.438 kB / 434.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.3826, allocations: 6.375 kB / 434.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3826, allocations: 0 / 434.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3826, allocations: 1.969 kB / 434.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.3828, allocations: 177.9 kB / 434.7 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.601e-05/0.3829, allocations: 104.4 kB / 434.8 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.3829, allocations: 6.672 kB / 434.8 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.046e-05/0.383, allocations: 6.312 kB / 434.8 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.383, allocations: 8.219 kB / 434.8 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.3831, allocations: 4.188 kB / 434.8 MB, free: 8.836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000164/0.3832, allocations: 206.1 kB / 435 MB, free: 8.754 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3832, allocations: 0 / 435 MB, free: 8.754 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.3835, allocations: 39.31 kB / 435.1 MB, free: 8.746 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.001731/0.3852, allocations: 1.023 MB / 436.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002448/0.3855, allocations: 78.33 kB / 436.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3855, allocations: 1.531 kB / 436.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.106e-05/0.3855, allocations: 30.61 kB / 436.2 MB, free: 8.051 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.386, allocations: 68.2 kB / 436.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.3879, allocations: 2.033 MB / 438.3 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.388, allocations: 0.7401 MB / 439.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.412e-05/0.3881, allocations: 19.19 kB / 439.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.029e-05/0.3882, allocations: 52.45 kB / 439.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3882, allocations: 0 / 439.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02973/0.4179, allocations: 4.846 MB / 444 MB, free: 5.043 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.188/8.606, allocations: 6.656 kB / 444 MB, free: 5.039 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv failed! Error: Could not read variable shiftSample1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv. Warning: Get data of variable shiftSample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv failed! Error: Could not read variable hold1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv. Warning: Get data of variable hold1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.246141851006541]