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.001493/0.001493, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00161/0.00161, allocations: 201.2 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.565/1.565, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.001481, allocations: 63.91 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3422, allocations: 50.54 MB / 408.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.002934/0.3452, allocations: 1.872 MB / 410.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.3463, allocations: 0.6896 MB / 411.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.3465, allocations: 7.938 kB / 411.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.3466, allocations: 23.72 kB / 411.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001161/0.3468, allocations: 27.8 kB / 411.4 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.3471, allocations: 111.4 kB / 411.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.3473, allocations: 151.5 kB / 411.6 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.3475, allocations: 57.7 kB / 411.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.3476, allocations: 63.7 kB / 411.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.095e-05/0.3477, allocations: 55.64 kB / 411.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.3478, allocations: 8 kB / 411.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.105e-05/0.3478, allocations: 24 kB / 411.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.112e-05/0.3479, allocations: 27.91 kB / 411.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.147e-05/0.3479, allocations: 59.55 kB / 411.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.3482, allocations: 150.3 kB / 412.1 MB, free: 14.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3482, allocations: 7.984 kB / 412.1 MB, free: 14.22 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3482, allocations: 0 / 412.1 MB, free: 14.22 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.3482, allocations: 0 / 412.1 MB, free: 14.22 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.0005815/0.3488, allocations: 458.8 kB / 412.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.3488, allocations: 8.031 kB / 412.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.494e-05/0.3489, allocations: 42.69 kB / 412.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.349, allocations: 28.83 kB / 412.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.3494, allocations: 260.9 kB / 412.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.3494, allocations: 11.94 kB / 412.9 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.3494, allocations: 4 kB / 412.9 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005824/0.35, allocations: 285.8 kB / 413.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.35, allocations: 3.938 kB / 413.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.3501, allocations: 4 kB / 413.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.3501, allocations: 4 kB / 413.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002043/0.3503, allocations: 75.88 kB / 413.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000433/0.3507, allocations: 423.5 kB / 413.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004379/0.3512, allocations: 298.1 kB / 413.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.3514, allocations: 108.3 kB / 414.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.3514, allocations: 3.938 kB / 414.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.3514, allocations: 46.55 kB / 414.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.333e-06/0.3514, allocations: 0 / 414.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005394/0.352, allocations: 225.8 kB / 414.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.3521, allocations: 200.2 kB / 414.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.3523, allocations: 194.2 kB / 414.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.3523, allocations: 25.7 kB / 414.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.124e-05/0.3524, allocations: 100.5 kB / 414.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.3524, allocations: 15.94 kB / 414.8 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.372e-05/0.3525, allocations: 41.66 kB / 414.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.3526, allocations: 322.8 kB / 415.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.086e-05/0.3527, allocations: 27.98 kB / 415.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.3528, allocations: 139.4 kB / 415.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.353, allocations: 170.4 kB / 415.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.353, allocations: 0 / 415.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002714/0.3533, allocations: 181.6 kB / 415.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3533, allocations: 7.938 kB / 415.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.3533, allocations: 4 kB / 415.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.3533, allocations: 8 kB / 415.7 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.3535, allocations: 43.86 kB / 415.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.3535, allocations: 7.938 kB / 415.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.3536, allocations: 19.88 kB / 415.8 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.3536, allocations: 8 kB / 415.8 MB, free: 10.02 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.0001206/0.3538, allocations: 141.8 kB / 415.9 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002823/0.3541, allocations: 141.5 kB / 416.1 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.472e-05/0.3541, allocations: 21.41 kB / 416.1 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3541, allocations: 4 kB / 416.1 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3541, allocations: 7.938 kB / 416.1 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3542, allocations: 7.984 kB / 416.1 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002619/0.3544, allocations: 213.5 kB / 416.3 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3544, allocations: 4 kB / 416.3 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.3546, allocations: 43.91 kB / 416.4 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.269e-06/0.3546, allocations: 8.031 kB / 416.4 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.3546, allocations: 0 / 416.4 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3546, allocations: 7.938 kB / 416.4 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.3546, allocations: 3.938 kB / 416.4 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003849/0.355, allocations: 361.1 kB / 416.8 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.911e-05/0.3551, allocations: 112.9 kB / 416.9 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.3551, allocations: 8 kB / 416.9 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.3553, allocations: 11.98 kB / 416.9 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.3553, allocations: 3.938 kB / 416.9 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.3554, allocations: 12 kB / 416.9 MB, free: 8.812 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.541e-05/0.3555, allocations: 136.4 kB / 417 MB, free: 8.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3555, allocations: 0 / 417 MB, free: 8.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003292/0.3558, allocations: 27.94 kB / 417.1 MB, free: 8.652 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.0007937/0.3566, allocations: 0.9515 MB / 418 MB, free: 7.668 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002811/0.3569, allocations: 120.7 kB / 418.1 MB, free: 7.551 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3569, allocations: 3.938 kB / 418.1 MB, free: 7.547 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.546e-05/0.357, allocations: 15.98 kB / 418.1 MB, free: 7.531 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006527/0.3576, allocations: 104.9 kB / 418.2 MB, free: 7.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.3599, allocations: 2.087 MB / 420.3 MB, free: 5.145 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.3603, allocations: 0.7202 MB / 421.1 MB, free: 4.398 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.419e-05/0.3603, allocations: 25.72 kB / 421.1 MB, free: 4.375 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.429e-05/0.3604, allocations: 39.42 kB / 421.1 MB, free: 4.336 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3604, allocations: 0 / 421.1 MB, free: 4.336 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02096/0.3814, allocations: 3.514 MB / 424.6 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.416/8.797, allocations: 18.44 kB / 424.7 MB, free: 0.9609 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.0.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