Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001546/0.001546, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001755/0.001755, allocations: 204.7 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 59.91 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.29, allocations: 50.55 MB / 408.8 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003613/0.2936, allocations: 1.917 MB / 410.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002149/0.2958, allocations: 1.212 MB / 411.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.2959, allocations: 7.938 kB / 411.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006267/0.2966, allocations: 151.5 kB / 412 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000406/0.297, allocations: 159.3 kB / 412.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004684/0.2975, allocations: 170.9 kB / 412.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000273/0.2978, allocations: 199.4 kB / 412.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.2979, allocations: 37.66 kB / 412.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.298, allocations: 79.62 kB / 412.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.2982, allocations: 83.62 kB / 412.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.2982, allocations: 8 kB / 412.8 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.2983, allocations: 59.91 kB / 412.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.16e-05/0.2984, allocations: 47.83 kB / 412.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.681e-05/0.2985, allocations: 75.48 kB / 412.9 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.2989, allocations: 218.2 kB / 413.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2989, allocations: 0 / 413.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2989, allocations: 3.938 kB / 413.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.2989, allocations: 4 kB / 413.2 MB, free: 13.11 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.0008569/0.2998, allocations: 0.5232 MB / 413.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.2998, allocations: 12.03 kB / 413.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.871e-05/0.2999, allocations: 34.75 kB / 413.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.746e-05/0.2999, allocations: 24.8 kB / 413.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003858/0.3003, allocations: 278.9 kB / 414 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.3004, allocations: 4.375 kB / 414 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.3004, allocations: 15.88 kB / 414 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/0.3007, allocations: 163.6 kB / 414.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3008, allocations: 3.938 kB / 414.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.3008, allocations: 0 / 414.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3008, allocations: 4 kB / 414.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.3009, allocations: 39.91 kB / 414.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005781/0.3015, allocations: 454.5 kB / 414.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.3018, allocations: 134.5 kB / 414.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.516e-05/0.3019, allocations: 55.42 kB / 414.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.3019, allocations: 4 kB / 414.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.3021, allocations: 93.03 kB / 415 MB, free: 11.04 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.3021, allocations: 0 / 415 MB, free: 11.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003921/0.3025, allocations: 161.6 kB / 415.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/0.3026, allocations: 166.6 kB / 415.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003084/0.303, allocations: 280.9 kB / 415.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.303, allocations: 25.7 kB / 415.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.3031, allocations: 124.5 kB / 415.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.3031, allocations: 19.89 kB / 415.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.273e-05/0.3032, allocations: 33.67 kB / 415.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.3033, allocations: 330.8 kB / 416.1 MB, free: 9.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.531e-05/0.3034, allocations: 31.92 kB / 416.1 MB, free: 9.809 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.3035, allocations: 74.92 kB / 416.2 MB, free: 9.711 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.3037, allocations: 93.11 kB / 416.3 MB, free: 9.602 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.3037, allocations: 4 kB / 416.3 MB, free: 9.598 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002332/0.304, allocations: 121.5 kB / 416.4 MB, free: 9.473 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.304, allocations: 4 kB / 416.4 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.304, allocations: 4.156 kB / 416.4 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.304, allocations: 4 kB / 416.4 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.212e-05/0.3041, allocations: 19.92 kB / 416.4 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3041, allocations: 0 / 416.4 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.082e-05/0.3042, allocations: 23.83 kB / 416.5 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.3042, allocations: 4 kB / 416.5 MB, free: 9.414 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.0001415/0.3044, allocations: 141.8 kB / 416.6 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-05/0.3045, allocations: 77.48 kB / 416.7 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.388e-05/0.3045, allocations: 29.77 kB / 416.7 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3046, allocations: 0 / 416.7 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.3046, allocations: 4 kB / 416.7 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.3046, allocations: 7.875 kB / 416.7 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002389/0.3048, allocations: 225.6 kB / 416.9 MB, free: 8.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3048, allocations: 0 / 416.9 MB, free: 8.871 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.184e-05/0.3049, allocations: 15.92 kB / 417 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.3049, allocations: 4 kB / 417 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.3049, allocations: 3.938 kB / 417 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.3049, allocations: 8.062 kB / 417 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3049, allocations: 4 kB / 417 MB, free: 8.836 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/0.3052, allocations: 175.5 kB / 417.2 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.872e-05/0.3053, allocations: 112.9 kB / 417.3 MB, free: 8.508 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.3053, allocations: 0 / 417.3 MB, free: 8.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.995e-05/0.3054, allocations: 15.98 kB / 417.3 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.3055, allocations: 7.938 kB / 417.3 MB, free: 8.484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.3055, allocations: 4 kB / 417.3 MB, free: 8.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002096/0.3057, allocations: 204.5 kB / 417.5 MB, free: 8.281 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3057, allocations: 0 / 417.5 MB, free: 8.281 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000261/0.306, allocations: 35.94 kB / 417.5 MB, free: 8.246 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.001898/0.3079, allocations: 1.021 MB / 418.5 MB, free: 7.332 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002441/0.3081, allocations: 75.91 kB / 418.6 MB, free: 7.258 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3081, allocations: 4.312 kB / 418.6 MB, free: 7.254 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.479e-05/0.3082, allocations: 31.92 kB / 418.7 MB, free: 7.223 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.3087, allocations: 75.03 kB / 418.7 MB, free: 7.156 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.311, allocations: 2.018 MB / 420.7 MB, free: 5.008 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.3114, allocations: 0.7435 MB / 421.5 MB, free: 4.238 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.858e-05/0.3115, allocations: 21.53 kB / 421.5 MB, free: 4.211 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.729e-05/0.3116, allocations: 59.36 kB / 421.6 MB, free: 4.152 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3116, allocations: 0 / 421.6 MB, free: 4.152 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02719/0.3388, allocations: 4.803 MB / 426.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.156/8.495, allocations: 6.328 kB / 426.4 MB, free: 15.46 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches