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.001783/0.001783, allocations: 103.5 kB / 20.44 MB, free: 1.332 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.001813/0.001813, allocations: 188.6 kB / 23.7 MB, free: 4.523 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.402/1.402, allocations: 225.7 MB / 252.5 MB, free: 12.82 MB / 206.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.001534/0.001534, allocations: 55.91 kB / 370.4 MB, free: 9.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2916, allocations: 52.18 MB / 422.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003512/0.2951, allocations: 1.892 MB / 424.5 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.2969, allocations: 1.009 MB / 425.5 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.297, allocations: 7.938 kB / 425.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006324/0.2976, allocations: 163.5 kB / 425.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003587/0.298, allocations: 115.5 kB / 425.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005361/0.2985, allocations: 209.6 kB / 426 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002603/0.2988, allocations: 183.4 kB / 426.1 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.2989, allocations: 29.52 kB / 426.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.2991, allocations: 79.64 kB / 426.2 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.2992, allocations: 75.67 kB / 426.3 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.2992, allocations: 12 kB / 426.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.2994, allocations: 63.89 kB / 426.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.192e-05/0.2994, allocations: 43.84 kB / 426.4 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.751e-05/0.2995, allocations: 59.59 kB / 426.5 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003368/0.2999, allocations: 209 kB / 426.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2999, allocations: 0 / 426.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2999, allocations: 0 / 426.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.2999, allocations: 0 / 426.7 MB, free: 10.27 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.0007892/0.3007, allocations: 454.7 kB / 427.1 MB, free: 9.789 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.3007, allocations: 16.03 kB / 427.2 MB, free: 9.773 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.135e-05/0.3008, allocations: 38.73 kB / 427.2 MB, free: 9.727 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.682e-05/0.3008, allocations: 24.8 kB / 427.2 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.3012, allocations: 205.2 kB / 427.4 MB, free: 9.477 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.3012, allocations: 8.375 kB / 427.4 MB, free: 9.469 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.3012, allocations: 11.88 kB / 427.4 MB, free: 9.457 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/0.3015, allocations: 158.7 kB / 427.6 MB, free: 9.277 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.3016, allocations: 4 kB / 427.6 MB, free: 9.273 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.3016, allocations: 0 / 427.6 MB, free: 9.273 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.3016, allocations: 3.938 kB / 427.6 MB, free: 9.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.3017, allocations: 39.97 kB / 427.6 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005774/0.3023, allocations: 409.7 kB / 428 MB, free: 8.777 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.3025, allocations: 134.5 kB / 428.2 MB, free: 8.609 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.3026, allocations: 63.36 kB / 428.2 MB, free: 8.535 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.3027, allocations: 4 kB / 428.2 MB, free: 8.531 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/0.3028, allocations: 89.09 kB / 428.3 MB, free: 8.426 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 3.256e-06/0.3028, allocations: 7.922 kB / 428.3 MB, free: 8.418 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003964/0.3032, allocations: 157.5 kB / 428.5 MB, free: 8.258 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.667e-05/0.3033, allocations: 144.4 kB / 428.6 MB, free: 8.086 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.3036, allocations: 265.2 kB / 428.9 MB, free: 7.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.3036, allocations: 33.7 kB / 428.9 MB, free: 7.781 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.421e-05/0.3037, allocations: 120.4 kB / 429 MB, free: 7.656 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.3038, allocations: 19.84 kB / 429.1 MB, free: 7.637 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.251e-05/0.3038, allocations: 33.7 kB / 429.1 MB, free: 7.598 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.304, allocations: 330.8 kB / 429.4 MB, free: 7.266 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.526e-05/0.304, allocations: 20 kB / 429.4 MB, free: 7.246 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.3041, allocations: 106.2 kB / 429.5 MB, free: 7.117 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.3043, allocations: 89.11 kB / 429.6 MB, free: 7.012 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3043, allocations: 4 kB / 429.6 MB, free: 7.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002283/0.3045, allocations: 137.6 kB / 429.8 MB, free: 6.867 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.3045, allocations: 4 kB / 429.8 MB, free: 6.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3045, allocations: 8 kB / 429.8 MB, free: 6.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.3046, allocations: 0 / 429.8 MB, free: 6.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.053e-05/0.3046, allocations: 16.14 kB / 429.8 MB, free: 6.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.3046, allocations: 8 kB / 429.8 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.296e-05/0.3047, allocations: 11.94 kB / 429.8 MB, free: 6.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.3047, allocations: 4 kB / 429.8 MB, free: 6.816 MB / 334.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.0001349/0.3049, allocations: 141.8 kB / 429.9 MB, free: 6.668 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.141e-05/0.305, allocations: 65.55 kB / 430 MB, free: 6.598 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/0.3052, allocations: 123.3 kB / 430.1 MB, free: 6.469 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3052, allocations: 7.938 kB / 430.1 MB, free: 6.461 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3052, allocations: 0 / 430.1 MB, free: 6.461 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/0.3052, allocations: 11.98 kB / 430.2 MB, free: 6.449 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.3054, allocations: 192.6 kB / 430.3 MB, free: 6.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.3054, allocations: 0 / 430.3 MB, free: 6.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.317e-05/0.3055, allocations: 8 kB / 430.3 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.3055, allocations: 4 kB / 430.4 MB, free: 6.207 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.3055, allocations: 3.984 kB / 430.4 MB, free: 6.203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.3055, allocations: 7.938 kB / 430.4 MB, free: 6.195 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3055, allocations: 0 / 430.4 MB, free: 6.195 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.3058, allocations: 179.5 kB / 430.5 MB, free: 5.992 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.228e-05/0.3058, allocations: 31.84 kB / 430.6 MB, free: 5.961 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.3059, allocations: 8 kB / 430.6 MB, free: 5.953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.351e-05/0.3059, allocations: 8 kB / 430.6 MB, free: 5.945 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.306, allocations: 11.92 kB / 430.6 MB, free: 5.934 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.306, allocations: 4 kB / 430.6 MB, free: 5.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002021/0.3062, allocations: 200.4 kB / 430.8 MB, free: 5.734 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3062, allocations: 3.938 kB / 430.8 MB, free: 5.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.3064, allocations: 35.92 kB / 430.8 MB, free: 5.695 MB / 334.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 (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.002087/0.3085, allocations: 1.051 MB / 431.9 MB, free: 4.793 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002175/0.3087, allocations: 71.91 kB / 432 MB, free: 4.723 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.3088, allocations: 4 kB / 432 MB, free: 4.719 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.995e-05/0.3088, allocations: 31.92 kB / 432 MB, free: 4.688 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.3093, allocations: 75.11 kB / 432.1 MB, free: 4.621 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/0.3117, allocations: 2.012 MB / 434.1 MB, free: 2.473 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.3118, allocations: 119.5 kB / 434.2 MB, free: 2.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.838e-05/0.3119, allocations: 29.61 kB / 434.2 MB, free: 2.309 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.237e-05/0.312, allocations: 51.42 kB / 434.3 MB, free: 2.258 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.312, allocations: 3.938 kB / 434.3 MB, free: 2.254 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0329/0.3449, allocations: 5.466 MB / 439.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.35, allocations: 3.859 kB / 439.7 MB, free: 12.85 MB / 350.1 MB " [Timeout remaining time 648] (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: 13.941558353137225]