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.001737/0.001737, allocations: 116.1 kB / 17.07 MB, free: 5.992 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.001931/0.001931, allocations: 196 kB / 18 MB, free: 5.074 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.503/1.503, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 59.89 kB / 350.8 MB, free: 3.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.273, allocations: 49.43 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003516/0.2765, allocations: 1.897 MB / 402.1 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.2784, allocations: 1.075 MB / 403.2 MB, free: 5.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.2785, allocations: 0 / 403.2 MB, free: 5.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006449/0.2792, allocations: 151.5 kB / 403.3 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003426/0.2795, allocations: 119.5 kB / 403.5 MB, free: 5.555 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006223/0.2802, allocations: 206.7 kB / 403.7 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002759/0.2805, allocations: 187.5 kB / 403.8 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.2806, allocations: 41.48 kB / 403.9 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.2807, allocations: 79.69 kB / 404 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.2809, allocations: 71.69 kB / 404 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.947e-05/0.2809, allocations: 8 kB / 404 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/0.2811, allocations: 59.91 kB / 404.1 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.496e-05/0.2811, allocations: 43.84 kB / 404.1 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.216e-05/0.2812, allocations: 75.47 kB / 404.2 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003523/0.2816, allocations: 210.2 kB / 404.4 MB, free: 4.598 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2816, allocations: 0 / 404.4 MB, free: 4.598 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2816, allocations: 0 / 404.4 MB, free: 4.598 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.2816, allocations: 0 / 404.4 MB, free: 4.598 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.0008596/0.2825, allocations: 0.5271 MB / 405 MB, free: 4.016 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.2825, allocations: 11.89 kB / 405 MB, free: 4.004 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.589e-05/0.2826, allocations: 42.73 kB / 405 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.132e-05/0.2827, allocations: 20.8 kB / 405 MB, free: 3.934 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.283, allocations: 271 kB / 405.3 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.2831, allocations: 8.375 kB / 405.3 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.2831, allocations: 7.938 kB / 405.3 MB, free: 3.613 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003652/0.2835, allocations: 170.8 kB / 405.5 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2835, allocations: 0 / 405.5 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.2835, allocations: 0 / 405.5 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.761e-05/0.2835, allocations: 4 kB / 405.5 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.2837, allocations: 39.92 kB / 405.5 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005596/0.2842, allocations: 450.5 kB / 406 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.2845, allocations: 130.5 kB / 406.1 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.2846, allocations: 55.42 kB / 406.1 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.654e-05/0.2847, allocations: 19.92 kB / 406.2 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001925/0.2849, allocations: 93.08 kB / 406.2 MB, free: 2.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.2849, allocations: 0 / 406.2 MB, free: 2.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003986/0.2853, allocations: 165.7 kB / 406.4 MB, free: 2.352 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.2854, allocations: 158.2 kB / 406.6 MB, free: 2.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.2857, allocations: 264.9 kB / 406.8 MB, free: 1.887 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.2857, allocations: 37.64 kB / 406.9 MB, free: 1.844 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.033e-05/0.2858, allocations: 124.3 kB / 407 MB, free: 1.715 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.2859, allocations: 23.83 kB / 407 MB, free: 1.691 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-05/0.2859, allocations: 25.72 kB / 407 MB, free: 1.66 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.2861, allocations: 338.8 kB / 407.4 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.966e-05/0.2861, allocations: 23.98 kB / 407.4 MB, free: 1.297 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.2863, allocations: 76.61 kB / 407.5 MB, free: 1.199 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.2864, allocations: 89.11 kB / 407.5 MB, free: 1.094 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2864, allocations: 0 / 407.5 MB, free: 1.094 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002294/0.2867, allocations: 129.7 kB / 407.7 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.2867, allocations: 8.156 kB / 407.7 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.2867, allocations: 4 kB / 407.7 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.2867, allocations: 4 kB / 407.7 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.359e-05/0.2868, allocations: 15.92 kB / 407.7 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.2868, allocations: 4 kB / 407.7 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.289e-05/0.2869, allocations: 11.94 kB / 407.7 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-06/0.2869, allocations: 4 kB / 407.7 MB, free: 0.9102 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.0001441/0.2871, allocations: 146.3 kB / 407.9 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-05/0.2872, allocations: 77.55 kB / 407.9 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.2873, allocations: 25.7 kB / 408 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.2873, allocations: 0 / 408 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.2873, allocations: 4 kB / 408 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.2873, allocations: 3.938 kB / 408 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.2876, allocations: 233.5 kB / 408.2 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2876, allocations: 0 / 408.2 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.039e-05/0.2876, allocations: 7.938 kB / 408.2 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.2876, allocations: 4 kB / 408.2 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.2876, allocations: 4 kB / 408.2 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.2877, allocations: 8.062 kB / 408.2 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2877, allocations: 3.938 kB / 408.2 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.2879, allocations: 171.4 kB / 408.4 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.2881, allocations: 109 kB / 408.5 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.2881, allocations: 4 kB / 408.5 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.119e-05/0.2882, allocations: 8 kB / 408.5 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.276e-05/0.2882, allocations: 15.98 kB / 408.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.2883, allocations: 4 kB / 408.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002006/0.2885, allocations: 196.4 kB / 408.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2885, allocations: 0 / 408.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.2888, allocations: 31.89 kB / 408.8 MB, free: 15.76 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.001918/0.2907, allocations: 1.021 MB / 409.8 MB, free: 14.87 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002361/0.2909, allocations: 84.09 kB / 409.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.2909, allocations: 4 kB / 409.9 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.88e-05/0.291, allocations: 27.92 kB / 409.9 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.2914, allocations: 80.7 kB / 410 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/0.2938, allocations: 1.999 MB / 412 MB, free: 12.55 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.2942, allocations: 0.7319 MB / 412.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.2943, allocations: 29.52 kB / 412.7 MB, free: 11.76 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.702e-05/0.2944, allocations: 51.42 kB / 412.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2944, allocations: 0 / 412.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.028/0.3224, allocations: 4.716 MB / 417.5 MB, free: 7.113 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.956/8.279, allocations: 2.812 kB / 417.5 MB, free: 7.113 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