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.001973/0.001973, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001407/0.001407, allocations: 214.4 kB / 23.74 MB, free: 4.656 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.413/1.413, allocations: 230.6 MB / 257.5 MB, free: 8 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.001554/0.001554, allocations: 52.06 kB / 377.8 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2983, allocations: 53.36 MB / 431.1 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003677/0.302, allocations: 1.95 MB / 433.1 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002234/0.3042, allocations: 1.251 MB / 434.3 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.3044, allocations: 3.938 kB / 434.3 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000588/0.3049, allocations: 162.6 kB / 434.5 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004354/0.3054, allocations: 155.4 kB / 434.6 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005556/0.3059, allocations: 175.4 kB / 434.8 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003201/0.3063, allocations: 203.4 kB / 435 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.3064, allocations: 21.8 kB / 435 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.3065, allocations: 83.62 kB / 435.1 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.3067, allocations: 79.62 kB / 435.2 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.3067, allocations: 8 kB / 435.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.3068, allocations: 67.89 kB / 435.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.157e-05/0.3069, allocations: 47.78 kB / 435.3 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.307, allocations: 79.47 kB / 435.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003867/0.3074, allocations: 211.5 kB / 435.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.3074, allocations: 11.92 kB / 435.6 MB, free: 2.391 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3074, allocations: 0 / 435.6 MB, free: 2.391 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.3074, allocations: 4 kB / 435.6 MB, free: 2.387 MB / 334.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.000914/0.3084, allocations: 458.6 kB / 436.1 MB, free: 1.902 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.3084, allocations: 8.031 kB / 436.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.031e-05/0.3085, allocations: 38.75 kB / 436.1 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.001e-05/0.3085, allocations: 24.8 kB / 436.1 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00039/0.3089, allocations: 221.1 kB / 436.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.3089, allocations: 4.375 kB / 436.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.3089, allocations: 15.88 kB / 436.4 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003851/0.3093, allocations: 159.6 kB / 436.5 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3093, allocations: 0 / 436.5 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.3094, allocations: 4 kB / 436.5 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3094, allocations: 0 / 436.5 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.3095, allocations: 39.91 kB / 436.6 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006157/0.3101, allocations: 429.6 kB / 437 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/0.3104, allocations: 126.5 kB / 437.1 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.3105, allocations: 59.42 kB / 437.2 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.3105, allocations: 0 / 437.2 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001843/0.3107, allocations: 96.98 kB / 437.3 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.3107, allocations: 4 kB / 437.3 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004008/0.3111, allocations: 157.4 kB / 437.4 MB, free: 368 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.3112, allocations: 154.2 kB / 437.6 MB, free: 176 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.3115, allocations: 285 kB / 437.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.3116, allocations: 29.7 kB / 437.9 MB, free: 15.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.3117, allocations: 124.8 kB / 438 MB, free: 15.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.3117, allocations: 23.91 kB / 438 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-05/0.3118, allocations: 37.66 kB / 438.1 MB, free: 15.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.3119, allocations: 330.8 kB / 438.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.637e-05/0.312, allocations: 20.25 kB / 438.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.3121, allocations: 82.78 kB / 438.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.3123, allocations: 89.08 kB / 438.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3123, allocations: 3.938 kB / 438.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002301/0.3125, allocations: 129.5 kB / 438.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.3125, allocations: 8 kB / 438.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3125, allocations: 0 / 438.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.3125, allocations: 4 kB / 438.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.608e-05/0.3126, allocations: 19.92 kB / 438.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3127, allocations: 3.938 kB / 438.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.657e-05/0.3127, allocations: 15.89 kB / 438.8 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.3127, allocations: 4 kB / 438.8 MB, free: 14.9 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.0001764/0.3129, allocations: 146.6 kB / 438.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.313, allocations: 73.48 kB / 439 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002581/0.3133, allocations: 107.4 kB / 439.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3133, allocations: 7.938 kB / 439.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.3133, allocations: 0 / 439.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.3133, allocations: 3.938 kB / 439.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.3135, allocations: 200.6 kB / 439.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3135, allocations: 8.062 kB / 439.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.715e-05/0.3136, allocations: 8 kB / 439.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3136, allocations: 0 / 439.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.3136, allocations: 8.125 kB / 439.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.3136, allocations: 3.984 kB / 439.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3136, allocations: 0 / 439.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.3139, allocations: 183.4 kB / 439.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.456e-05/0.3139, allocations: 31.83 kB / 439.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.314, allocations: 8 kB / 439.5 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.056e-05/0.314, allocations: 4 kB / 439.5 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/0.3141, allocations: 11.92 kB / 439.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.3141, allocations: 4 kB / 439.5 MB, free: 14.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002327/0.3143, allocations: 200.5 kB / 439.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3143, allocations: 0 / 439.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.3146, allocations: 35.94 kB / 439.8 MB, free: 13.78 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.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * 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.002103/0.3167, allocations: 1.039 MB / 440.8 MB, free: 12.87 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002576/0.317, allocations: 75.84 kB / 440.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.317, allocations: 0 / 440.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.681e-05/0.3171, allocations: 24 kB / 440.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.3175, allocations: 76.88 kB / 441 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/0.32, allocations: 2.021 MB / 443 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.3204, allocations: 0.7359 MB / 443.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.905e-05/0.3205, allocations: 21.47 kB / 443.8 MB, free: 9.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.769e-05/0.3206, allocations: 51.42 kB / 443.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3206, allocations: 0 / 443.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0323/0.3529, allocations: 5.019 MB / 448.8 MB, free: 4.773 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.26, allocations: 14.22 kB / 448.9 MB, free: 4.762 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.911714742000186]