Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001355/0.001355, allocations: 121.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001674/0.001674, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.523/1.523, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 79.8 kB / 358.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3348, allocations: 50.54 MB / 408.8 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003546/0.3384, allocations: 1.861 MB / 410.6 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.3398, allocations: 0.7052 MB / 411.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.3399, allocations: 7.938 kB / 411.3 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.3401, allocations: 15.8 kB / 411.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.3402, allocations: 31.72 kB / 411.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.3406, allocations: 107.3 kB / 411.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002126/0.3409, allocations: 147.5 kB / 411.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.341, allocations: 57.7 kB / 411.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.3412, allocations: 59.77 kB / 411.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.3413, allocations: 59.59 kB / 411.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.3414, allocations: 12 kB / 411.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.803e-05/0.3414, allocations: 20 kB / 411.8 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.873e-05/0.3415, allocations: 23.92 kB / 411.9 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.281e-05/0.3416, allocations: 67.53 kB / 411.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.3418, allocations: 142.4 kB / 412.1 MB, free: 14.19 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3418, allocations: 3.938 kB / 412.1 MB, free: 14.19 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3418, allocations: 0 / 412.1 MB, free: 14.19 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.3419, allocations: 4 kB / 412.1 MB, free: 14.18 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007108/0.3426, allocations: 462.7 kB / 412.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.3426, allocations: 12.03 kB / 412.5 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.422e-05/0.3427, allocations: 38.73 kB / 412.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.3429, allocations: 24.84 kB / 412.6 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.3432, allocations: 256.9 kB / 412.9 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.3433, allocations: 19.88 kB / 412.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.3433, allocations: 8 kB / 412.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000625/0.3439, allocations: 289.5 kB / 413.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.344, allocations: 0 / 413.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.344, allocations: 4 kB / 413.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.344, allocations: 4 kB / 413.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000221/0.3442, allocations: 71.83 kB / 413.2 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006102/0.3448, allocations: 427.5 kB / 413.7 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005134/0.3454, allocations: 294.1 kB / 413.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.3456, allocations: 112.4 kB / 414.1 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.502e-05/0.3456, allocations: 7.984 kB / 414.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.3457, allocations: 38.5 kB / 414.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.332e-06/0.3457, allocations: 7.938 kB / 414.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005835/0.3463, allocations: 217.3 kB / 414.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001633/0.3465, allocations: 199.8 kB / 414.5 MB, free: 11.42 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.3467, allocations: 186.2 kB / 414.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.3467, allocations: 25.7 kB / 414.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.224e-05/0.3468, allocations: 104.9 kB / 414.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.3469, allocations: 19.94 kB / 414.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.209e-05/0.3469, allocations: 37.67 kB / 414.9 MB, free: 11.03 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3471, allocations: 326.8 kB / 415.2 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.209e-05/0.3472, allocations: 27.98 kB / 415.2 MB, free: 10.67 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.3474, allocations: 135.4 kB / 415.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.3476, allocations: 166.4 kB / 415.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.3476, allocations: 7.938 kB / 415.5 MB, free: 10.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003088/0.3479, allocations: 177.2 kB / 415.7 MB, free: 10.08 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.348, allocations: 8 kB / 415.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.348, allocations: 4 kB / 415.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.348, allocations: 4.531 kB / 415.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.3482, allocations: 39.92 kB / 415.8 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.788e-05/0.3482, allocations: 11.92 kB / 415.8 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.3483, allocations: 19.89 kB / 415.8 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.3483, allocations: 11.94 kB / 415.8 MB, free: 9.984 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001661/0.3485, allocations: 133.8 kB / 415.9 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003373/0.3488, allocations: 141.9 kB / 416.1 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.127e-05/0.3489, allocations: 29.42 kB / 416.1 MB, free: 9.664 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.3489, allocations: 4.234 kB / 416.1 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.349, allocations: 7.938 kB / 416.1 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.349, allocations: 3.984 kB / 416.1 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003381/0.3493, allocations: 221.5 kB / 416.3 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3493, allocations: 0 / 416.3 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.3495, allocations: 43.91 kB / 416.4 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.3495, allocations: 7.938 kB / 416.4 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.3495, allocations: 0 / 416.4 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/0.3495, allocations: 7.984 kB / 416.4 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.3495, allocations: 3.938 kB / 416.4 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004654/0.35, allocations: 361.1 kB / 416.7 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.3501, allocations: 120.9 kB / 416.9 MB, free: 8.805 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.3501, allocations: 4 kB / 416.9 MB, free: 8.801 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.3503, allocations: 11.98 kB / 416.9 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.3503, allocations: 7.938 kB / 416.9 MB, free: 8.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.3504, allocations: 8 kB / 416.9 MB, free: 8.773 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001215/0.3505, allocations: 128.4 kB / 417 MB, free: 8.648 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3505, allocations: 4 kB / 417 MB, free: 8.645 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003288/0.3508, allocations: 27.94 kB / 417.1 MB, free: 8.617 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 Backend phase and start with SimCode phase: time 0.00103/0.3519, allocations: 0.9577 MB / 418 MB, free: 7.629 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003472/0.3522, allocations: 119.7 kB / 418.1 MB, free: 7.512 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3522, allocations: 1.125 kB / 418.1 MB, free: 7.512 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.289e-05/0.3523, allocations: 19.92 kB / 418.1 MB, free: 7.492 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007737/0.3531, allocations: 107.9 kB / 418.3 MB, free: 7.387 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002681/0.3558, allocations: 2.082 MB / 420.3 MB, free: 5.105 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.3562, allocations: 0.7319 MB / 421.1 MB, free: 4.348 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.971e-05/0.3563, allocations: 13.55 kB / 421.1 MB, free: 4.336 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.301e-05/0.3564, allocations: 39.42 kB / 421.1 MB, free: 4.297 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3564, allocations: 0 / 421.1 MB, free: 4.297 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02562/0.382, allocations: 3.508 MB / 424.6 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.638/9.02, allocations: 13.39 kB / 424.6 MB, free: 0.9336 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_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_RealSignals_HoldWithDAeffects2.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches