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.001424/0.001424, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.00122/0.00122, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9196/0.9196, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.903e-06/1.903e-06, allocations: 0 / 324.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.821e-05/2.012e-05, allocations: 6.281 kB / 324.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003/0.00302, allocations: 1.899 MB / 326.5 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.004482, allocations: 1.173 MB / 327.6 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.004599, allocations: 7.938 kB / 327.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006521/0.005251, allocations: 155.4 kB / 327.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004492/0.0057, allocations: 167.2 kB / 328 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005357/0.006236, allocations: 182.8 kB / 328.1 MB, free: 12.37 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.006493, allocations: 199.4 kB / 328.3 MB, free: 12.17 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.006612, allocations: 21.8 kB / 328.3 MB, free: 12.15 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.006743, allocations: 107.7 kB / 328.5 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.006852, allocations: 67.8 kB / 328.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.006874, allocations: 8 kB / 328.5 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.007003, allocations: 59.89 kB / 328.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.59e-05/0.007069, allocations: 47.83 kB / 328.6 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.447e-05/0.007123, allocations: 39.86 kB / 328.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003025/0.007426, allocations: 223.2 kB / 328.9 MB, free: 11.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.007429, allocations: 4 kB / 328.9 MB, free: 11.6 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.00743, allocations: 0 / 328.9 MB, free: 11.6 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.007435, allocations: 0 / 328.9 MB, free: 11.6 MB / 298.7 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.0006732/0.008108, allocations: 461.5 kB / 329.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.008149, allocations: 11.97 kB / 329.4 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.435e-05/0.008184, allocations: 42.73 kB / 329.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.965e-05/0.008233, allocations: 20.8 kB / 329.4 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.0085, allocations: 212.8 kB / 329.6 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.008514, allocations: 8.375 kB / 329.6 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.008528, allocations: 8.375 kB / 329.6 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002825/0.008811, allocations: 163 kB / 329.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.008819, allocations: 3.938 kB / 329.8 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.00883, allocations: 4 kB / 329.8 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.008835, allocations: 4 kB / 329.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.635e-05/0.008912, allocations: 35.92 kB / 329.8 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004432/0.009355, allocations: 409.7 kB / 330.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.009529, allocations: 134.5 kB / 330.4 MB, free: 9.938 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.424e-05/0.009593, allocations: 51.42 kB / 330.4 MB, free: 9.875 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.009616, allocations: 7.969 kB / 330.4 MB, free: 9.867 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001376/0.009753, allocations: 97.05 kB / 330.5 MB, free: 9.754 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/0.009755, allocations: 3.938 kB / 330.5 MB, free: 9.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002782/0.01003, allocations: 165.4 kB / 330.7 MB, free: 9.582 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/0.0101, allocations: 136.5 kB / 330.8 MB, free: 9.418 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.01031, allocations: 281.8 kB / 331.1 MB, free: 9.129 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.01032, allocations: 25.7 kB / 331.1 MB, free: 9.098 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.073e-05/0.01039, allocations: 124.3 kB / 331.3 MB, free: 8.969 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.01041, allocations: 11.91 kB / 331.3 MB, free: 8.957 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/0.01046, allocations: 37.66 kB / 331.3 MB, free: 8.914 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.01057, allocations: 330.8 kB / 331.6 MB, free: 8.582 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.636e-05/0.01061, allocations: 24.36 kB / 331.6 MB, free: 8.559 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.063e-05/0.01067, allocations: 77.12 kB / 331.7 MB, free: 8.465 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.255e-05/0.01076, allocations: 62.5 kB / 331.8 MB, free: 8.395 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.01076, allocations: 0 / 331.8 MB, free: 8.395 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001318/0.01089, allocations: 105.8 kB / 331.9 MB, free: 8.285 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.01091, allocations: 8 kB / 331.9 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.01092, allocations: 64 / 331.9 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.01093, allocations: 4 kB / 331.9 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.147e-05/0.011, allocations: 16.08 kB / 331.9 MB, free: 8.258 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.01101, allocations: 7.938 kB / 331.9 MB, free: 8.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.512e-05/0.01106, allocations: 4 kB / 331.9 MB, free: 8.246 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.01107, allocations: 4 kB / 331.9 MB, free: 8.242 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,hold1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.761e-05/0.01116, allocations: 141.8 kB / 332.1 MB, free: 8.094 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.479e-05/0.01123, allocations: 73.48 kB / 332.1 MB, free: 8.016 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.0114, allocations: 115.5 kB / 332.3 MB, free: 7.902 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.01141, allocations: 0 / 332.3 MB, free: 7.902 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.01141, allocations: 8 kB / 332.3 MB, free: 7.895 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.01142, allocations: 4 kB / 332.3 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.01159, allocations: 200.5 kB / 332.5 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.01159, allocations: 4 kB / 332.5 MB, free: 7.648 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.159e-05/0.01161, allocations: 4 kB / 332.5 MB, free: 7.645 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.01161, allocations: 7.938 kB / 332.5 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.01162, allocations: 4 kB / 332.5 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.01163, allocations: 3.984 kB / 332.5 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.01163, allocations: 4 kB / 332.5 MB, free: 7.625 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.0118, allocations: 179.5 kB / 332.7 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.677e-05/0.01186, allocations: 31.88 kB / 332.7 MB, free: 7.391 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.01188, allocations: 8.188 kB / 332.7 MB, free: 7.383 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.654e-05/0.01192, allocations: 4 kB / 332.7 MB, free: 7.379 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.01196, allocations: 15.86 kB / 332.7 MB, free: 7.363 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.01197, allocations: 4 kB / 332.7 MB, free: 7.359 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001413/0.01211, allocations: 201.2 kB / 332.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01211, allocations: 4 kB / 332.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000201/0.01231, allocations: 35.86 kB / 333 MB, free: 7.129 MB / 298.7 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.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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.001042/0.01335, allocations: 1.057 MB / 334 MB, free: 6.215 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001707/0.01352, allocations: 67.91 kB / 334.1 MB, free: 6.148 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.01353, allocations: 0 / 334.1 MB, free: 6.148 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.96e-05/0.01358, allocations: 31.92 kB / 334.1 MB, free: 6.117 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.01387, allocations: 73.31 kB / 334.2 MB, free: 6.055 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.01568, allocations: 1.97 MB / 336.2 MB, free: 3.961 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.01578, allocations: 123.6 kB / 336.3 MB, free: 3.82 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.093e-05/0.01587, allocations: 29.45 kB / 336.3 MB, free: 3.789 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.847e-05/0.01595, allocations: 52.48 kB / 336.4 MB, free: 3.738 MB / 298.7 MB Notification: Performance of SimCode: time 1.543e-06/0.01595, allocations: 4 kB / 336.4 MB, free: 3.734 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02044/0.0364, allocations: 5.667 MB / 342 MB, free: 14.13 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.058/7.094, allocations: 7.984 kB / 342 MB, free: 14.12 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins/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: 8.95300480723381]