Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 112 kB / 17.06 MB, free: 5.988 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.001386/0.001386, allocations: 195.9 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.562/1.562, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 47.92 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3307, allocations: 49.43 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.004148/0.3349, allocations: 1.854 MB / 402.1 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.3363, allocations: 0.6273 MB / 402.7 MB, free: 6.328 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.3365, allocations: 7.938 kB / 402.7 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.3367, allocations: 15.8 kB / 402.7 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001417/0.3368, allocations: 27.78 kB / 402.8 MB, free: 6.277 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004119/0.3373, allocations: 106.5 kB / 402.9 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002363/0.3375, allocations: 147.6 kB / 403 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.3377, allocations: 53.72 kB / 403.1 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.3378, allocations: 63.7 kB / 403.1 MB, free: 5.918 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.3379, allocations: 51.66 kB / 403.2 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.175e-05/0.338, allocations: 8 kB / 403.2 MB, free: 5.859 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.532e-05/0.338, allocations: 12 kB / 403.2 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.996e-05/0.3381, allocations: 31.91 kB / 403.2 MB, free: 5.816 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.63e-05/0.3382, allocations: 63.59 kB / 403.3 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.3384, allocations: 142.3 kB / 403.4 MB, free: 5.617 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3384, allocations: 0 / 403.4 MB, free: 5.617 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3384, allocations: 0 / 403.4 MB, free: 5.617 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.3384, allocations: 0 / 403.4 MB, free: 5.617 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006941/0.3391, allocations: 465.8 kB / 403.9 MB, free: 5.117 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.3392, allocations: 12.03 kB / 403.9 MB, free: 5.105 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.145e-05/0.3393, allocations: 46.73 kB / 404 MB, free: 5.051 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.3393, allocations: 20.8 kB / 404 MB, free: 5.031 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004556/0.3398, allocations: 241.9 kB / 404.2 MB, free: 4.754 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.3398, allocations: 15.94 kB / 404.2 MB, free: 4.738 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.3398, allocations: 8 kB / 404.2 MB, free: 4.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007002/0.3405, allocations: 284.1 kB / 404.5 MB, free: 4.422 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.3406, allocations: 0 / 404.5 MB, free: 4.422 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.3406, allocations: 8 kB / 404.5 MB, free: 4.414 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3406, allocations: 0 / 404.5 MB, free: 4.414 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002233/0.3408, allocations: 71.89 kB / 404.6 MB, free: 4.344 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006023/0.3414, allocations: 427.4 kB / 405 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005494/0.342, allocations: 294.1 kB / 405.3 MB, free: 3.512 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.3422, allocations: 120.2 kB / 405.4 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.3423, allocations: 7.984 kB / 405.4 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.652e-05/0.3423, allocations: 38.56 kB / 405.5 MB, free: 3.324 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.3423, allocations: 0 / 405.5 MB, free: 3.324 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005849/0.3429, allocations: 225.3 kB / 405.7 MB, free: 3.098 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001388/0.3431, allocations: 195.9 kB / 405.9 MB, free: 2.863 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.3433, allocations: 183.1 kB / 406 MB, free: 2.676 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.3433, allocations: 29.7 kB / 406.1 MB, free: 2.641 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.805e-05/0.3434, allocations: 100.8 kB / 406.2 MB, free: 2.535 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.3434, allocations: 19.91 kB / 406.2 MB, free: 2.516 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.361e-05/0.3435, allocations: 37.7 kB / 406.2 MB, free: 2.473 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.3436, allocations: 322.8 kB / 406.5 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.171e-05/0.3437, allocations: 31.97 kB / 406.6 MB, free: 2.117 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.3439, allocations: 135.4 kB / 406.7 MB, free: 1.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.3442, allocations: 170.4 kB / 406.9 MB, free: 1.711 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.3442, allocations: 4 kB / 406.9 MB, free: 1.707 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003519/0.3445, allocations: 177.2 kB / 407.1 MB, free: 1.527 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.3446, allocations: 8 kB / 407.1 MB, free: 1.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.3446, allocations: 7.938 kB / 407.1 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.3446, allocations: 4.531 kB / 407.1 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.3447, allocations: 39.92 kB / 407.1 MB, free: 1.469 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.169e-05/0.3448, allocations: 7.938 kB / 407.1 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.3449, allocations: 23.88 kB / 407.1 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.843e-05/0.3449, allocations: 11.94 kB / 407.2 MB, free: 1.426 MB / 318.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.0001277/0.3451, allocations: 133.8 kB / 407.3 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000301/0.3454, allocations: 145.4 kB / 407.4 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.819e-05/0.3454, allocations: 21.44 kB / 407.4 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3454, allocations: 8 kB / 407.5 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.3455, allocations: 7.922 kB / 407.5 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3455, allocations: 7.938 kB / 407.5 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003066/0.3458, allocations: 213.5 kB / 407.7 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3458, allocations: 0 / 407.7 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.3459, allocations: 43.97 kB / 407.7 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.346, allocations: 4 kB / 407.7 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.346, allocations: 0 / 407.7 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.346, allocations: 4 kB / 407.7 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.346, allocations: 3.938 kB / 407.7 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004562/0.3465, allocations: 363.8 kB / 408.1 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.3466, allocations: 124.9 kB / 408.2 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.3466, allocations: 0 / 408.2 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.3468, allocations: 15.98 kB / 408.2 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.3468, allocations: 3.938 kB / 408.2 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.3468, allocations: 8 kB / 408.2 MB, free: 232 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.347, allocations: 137.1 kB / 408.4 MB, free: 96 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.347, allocations: 0 / 408.4 MB, free: 96 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003136/0.3473, allocations: 20 kB / 408.4 MB, free: 76 kB / 318.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.0009841/0.3483, allocations: 0.9678 MB / 409.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002982/0.3486, allocations: 115.8 kB / 409.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3486, allocations: 1.125 kB / 409.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.54e-05/0.3487, allocations: 11.98 kB / 409.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006708/0.3493, allocations: 118.9 kB / 409.6 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.3518, allocations: 2.062 MB / 411.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.3523, allocations: 0.7319 MB / 412.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.375e-05/0.3523, allocations: 13.55 kB / 412.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.044e-05/0.3524, allocations: 43.42 kB / 412.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3524, allocations: 0 / 412.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02657/0.379, allocations: 3.497 MB / 415.9 MB, free: 8.426 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.235/8.614, allocations: 0.6875 kB / 415.9 MB, free: 8.426 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects2.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches