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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 112.5 kB / 17.06 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 200.1 kB / 18.01 MB, free: 5.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 43.92 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.3001, allocations: 49.44 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003495/0.3036, allocations: 1.892 MB / 402.1 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.3055, allocations: 1.071 MB / 403.2 MB, free: 5.836 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.3057, allocations: 4 kB / 403.2 MB, free: 5.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006183/0.3063, allocations: 155.5 kB / 403.4 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003668/0.3067, allocations: 115.6 kB / 403.5 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000629/0.3073, allocations: 202 kB / 403.7 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002898/0.3076, allocations: 187.5 kB / 403.9 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.3078, allocations: 33.48 kB / 403.9 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.3079, allocations: 79.69 kB / 404 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.3081, allocations: 75.67 kB / 404 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.114e-05/0.3081, allocations: 8 kB / 404 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.3083, allocations: 51.92 kB / 404.1 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.583e-05/0.3084, allocations: 51.83 kB / 404.1 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.284e-05/0.3085, allocations: 75.48 kB / 404.2 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000368/0.3089, allocations: 209.5 kB / 404.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3089, allocations: 0 / 404.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3089, allocations: 0 / 404.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.3089, allocations: 0 / 404.4 MB, free: 4.621 MB / 318.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.0008313/0.3097, allocations: 0.5271 MB / 405 MB, free: 4.039 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.3098, allocations: 8.031 kB / 405 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.792e-05/0.3098, allocations: 38.75 kB / 405 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.957e-05/0.3099, allocations: 24.8 kB / 405 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/0.3102, allocations: 271 kB / 405.3 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.3103, allocations: 4.375 kB / 405.3 MB, free: 3.652 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.3103, allocations: 11.94 kB / 405.3 MB, free: 3.641 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000342/0.3106, allocations: 163.5 kB / 405.5 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3106, allocations: 0 / 405.5 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.3107, allocations: 4 kB / 405.5 MB, free: 3.449 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.3107, allocations: 4 kB / 405.5 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.3108, allocations: 35.86 kB / 405.5 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005441/0.3113, allocations: 458.5 kB / 406 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.3116, allocations: 134.5 kB / 406.1 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.3117, allocations: 55.42 kB / 406.1 MB, free: 2.668 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.3118, allocations: 7.875 kB / 406.1 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001797/0.312, allocations: 93.09 kB / 406.2 MB, free: 2.551 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.312, allocations: 0 / 406.2 MB, free: 2.551 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003855/0.3124, allocations: 165.6 kB / 406.4 MB, free: 2.383 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/0.3125, allocations: 154.2 kB / 406.5 MB, free: 2.195 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003195/0.3128, allocations: 277.2 kB / 406.8 MB, free: 1.91 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.3129, allocations: 29.7 kB / 406.8 MB, free: 1.875 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.344e-05/0.3129, allocations: 120.4 kB / 407 MB, free: 1.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.313, allocations: 23.83 kB / 407 MB, free: 1.727 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.555e-05/0.313, allocations: 33.7 kB / 407 MB, free: 1.688 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.3132, allocations: 326.8 kB / 407.3 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.478e-05/0.3132, allocations: 23.98 kB / 407.4 MB, free: 1.336 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.3134, allocations: 80.86 kB / 407.4 MB, free: 1.234 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.3135, allocations: 89.11 kB / 407.5 MB, free: 1.129 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3135, allocations: 0 / 407.5 MB, free: 1.129 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002282/0.3138, allocations: 129.4 kB / 407.7 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3138, allocations: 8 kB / 407.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3138, allocations: 3.984 kB / 407.7 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.3138, allocations: 4 kB / 407.7 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.391e-05/0.3139, allocations: 15.92 kB / 407.7 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.3139, allocations: 4.156 kB / 407.7 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.255e-05/0.314, allocations: 11.94 kB / 407.7 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.314, allocations: 8 kB / 407.7 MB, free: 0.9414 MB / 318.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.000138/0.3142, allocations: 146.3 kB / 407.9 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.748e-05/0.3143, allocations: 69.55 kB / 407.9 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.27e-05/0.3143, allocations: 25.7 kB / 407.9 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.3143, allocations: 0 / 407.9 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.3143, allocations: 7.984 kB / 408 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3144, allocations: 8 kB / 408 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.3146, allocations: 237.6 kB / 408.2 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3146, allocations: 0 / 408.2 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.834e-05/0.3146, allocations: 7.938 kB / 408.2 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.3146, allocations: 4 kB / 408.2 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.3146, allocations: 4.125 kB / 408.2 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.3146, allocations: 3.984 kB / 408.2 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3147, allocations: 7.938 kB / 408.2 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.3149, allocations: 175.4 kB / 408.4 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-05/0.315, allocations: 105 kB / 408.5 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.148e-05/0.3151, allocations: 11.94 kB / 408.5 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.018e-05/0.3151, allocations: 4 kB / 408.5 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.3152, allocations: 11.92 kB / 408.5 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.3152, allocations: 4 kB / 408.5 MB, free: 12 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000202/0.3154, allocations: 204.5 kB / 408.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3154, allocations: 0 / 408.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000265/0.3157, allocations: 31.89 kB / 408.8 MB, free: 15.78 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.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.001412/0.3171, allocations: 1.019 MB / 409.8 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002207/0.3173, allocations: 79.84 kB / 409.9 MB, free: 14.81 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3173, allocations: 4 kB / 409.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.555e-05/0.3174, allocations: 27.94 kB / 409.9 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.3178, allocations: 68.2 kB / 410 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.3201, allocations: 2.009 MB / 412 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.3204, allocations: 0.7319 MB / 412.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.772e-05/0.3205, allocations: 17.55 kB / 412.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.297e-05/0.3206, allocations: 51.41 kB / 412.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3206, allocations: 0 / 412.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.3446, allocations: 4.726 MB / 417.5 MB, free: 7.141 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.713/8.058, allocations: 7.797 kB / 417.5 MB, free: 7.133 MB / 334.1 MB (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 8e-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) 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) Reference file matches