Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",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.001247/0.001247, allocations: 113.4 kB / 17.07 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.001311/0.001311, allocations: 193.4 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.427/1.427, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001483, allocations: 51.92 kB / 350.8 MB, free: 3.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3167, allocations: 49.43 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002502/0.3192, allocations: 0.9536 MB / 401.2 MB, free: 7.711 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003587/0.3196, allocations: 117.4 kB / 401.3 MB, free: 7.621 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.332e-05/0.3197, allocations: 1.219 kB / 401.3 MB, free: 7.621 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.73e-05/0.3198, allocations: 11.86 kB / 401.3 MB, free: 7.609 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.3199, allocations: 6.156 kB / 401.3 MB, free: 7.605 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.3201, allocations: 38.14 kB / 401.4 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.3203, allocations: 44.11 kB / 401.4 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.3204, allocations: 20.98 kB / 401.4 MB, free: 7.535 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.39e-05/0.3204, allocations: 13.53 kB / 401.4 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.885e-05/0.3205, allocations: 19.48 kB / 401.5 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.3205, allocations: 3.375 kB / 401.5 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.324e-05/0.3205, allocations: 3.344 kB / 401.5 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.31e-05/0.3206, allocations: 16.48 kB / 401.5 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.684e-05/0.3206, allocations: 32.89 kB / 401.5 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.3208, allocations: 60.36 kB / 401.6 MB, free: 7.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3208, allocations: 0 / 401.6 MB, free: 7.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3208, allocations: 0 / 401.6 MB, free: 7.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.3208, allocations: 0 / 401.6 MB, free: 7.43 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004824/0.3213, allocations: 377.2 kB / 401.9 MB, free: 7.035 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.3213, allocations: 9.219 kB / 402 MB, free: 7.035 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.158e-05/0.3214, allocations: 41.02 kB / 402 MB, free: 6.988 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.3214, allocations: 9.484 kB / 402 MB, free: 6.984 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.3217, allocations: 203.6 kB / 402.2 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.3217, allocations: 384 / 402.2 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.3217, allocations: 12.36 kB / 402.2 MB, free: 6.746 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.322, allocations: 131.5 kB / 402.3 MB, free: 6.605 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.322, allocations: 0 / 402.3 MB, free: 6.605 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.322, allocations: 8 kB / 402.4 MB, free: 6.598 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.322, allocations: 0 / 402.4 MB, free: 6.598 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.945e-05/0.3221, allocations: 15.98 kB / 402.4 MB, free: 6.582 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001653/0.3223, allocations: 173.6 kB / 402.5 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.3224, allocations: 70.64 kB / 402.6 MB, free: 6.285 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.445e-05/0.3225, allocations: 40.89 kB / 402.6 MB, free: 6.242 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.3225, allocations: 4 kB / 402.7 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.3225, allocations: 34.5 kB / 402.7 MB, free: 6.195 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.3225, allocations: 4 kB / 402.7 MB, free: 6.191 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001977/0.3227, allocations: 89.72 kB / 402.8 MB, free: 6.098 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.3228, allocations: 63.39 kB / 402.8 MB, free: 6.023 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.3229, allocations: 125.8 kB / 403 MB, free: 5.891 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.3229, allocations: 33.7 kB / 403 MB, free: 5.852 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.528e-05/0.323, allocations: 84.14 kB / 403.1 MB, free: 5.766 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.373e-05/0.323, allocations: 7.953 kB / 403.1 MB, free: 5.758 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/0.3231, allocations: 29.64 kB / 403.1 MB, free: 5.723 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3232, allocations: 314.8 kB / 403.4 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.473e-05/0.3232, allocations: 15.98 kB / 403.4 MB, free: 5.391 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.318e-05/0.3233, allocations: 50.88 kB / 403.5 MB, free: 5.316 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.335e-05/0.3234, allocations: 78.73 kB / 403.6 MB, free: 5.215 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3234, allocations: 4 kB / 403.6 MB, free: 5.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001317/0.3235, allocations: 93.39 kB / 403.7 MB, free: 5.113 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.3235, allocations: 4 kB / 403.7 MB, free: 5.109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3235, allocations: 4 kB / 403.7 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.3236, allocations: 0 / 403.7 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.519e-05/0.3236, allocations: 19.98 kB / 403.7 MB, free: 5.086 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.3237, allocations: 8.188 kB / 403.7 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.607e-05/0.3237, allocations: 4 kB / 403.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.3237, allocations: 7.938 kB / 403.7 MB, free: 5.066 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 8.926e-05/0.3238, allocations: 121.8 kB / 403.8 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.312e-05/0.3239, allocations: 73.58 kB / 403.9 MB, free: 4.859 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.51e-05/0.324, allocations: 12.72 kB / 403.9 MB, free: 4.844 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.324, allocations: 3.984 kB / 403.9 MB, free: 4.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.324, allocations: 0 / 403.9 MB, free: 4.84 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.324, allocations: 3.938 kB / 403.9 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.3241, allocations: 177.5 kB / 404.1 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3241, allocations: 4 kB / 404.1 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.584e-05/0.3242, allocations: 15.92 kB / 404.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3242, allocations: 0 / 404.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.3242, allocations: 4 kB / 404.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3242, allocations: 0 / 404.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3242, allocations: 0 / 404.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.3243, allocations: 97.08 kB / 404.2 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.951e-05/0.3244, allocations: 101 kB / 404.3 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.3244, allocations: 0 / 404.3 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.832e-05/0.3245, allocations: 8 kB / 404.3 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.395e-06/0.3245, allocations: 0 / 404.3 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.3245, allocations: 0 / 404.3 MB, free: 4.352 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.154e-05/0.3246, allocations: 113.2 kB / 404.4 MB, free: 4.242 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3246, allocations: 0 / 404.4 MB, free: 4.242 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001992/0.3248, allocations: 12 kB / 404.4 MB, free: 4.23 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0004763/0.3252, allocations: 0.6711 MB / 405.1 MB, free: 3.531 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001181/0.3254, allocations: 47.86 kB / 405.2 MB, free: 3.484 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.3254, allocations: 0 / 405.2 MB, free: 3.484 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.3254, allocations: 0 / 405.2 MB, free: 3.484 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.3257, allocations: 37.12 kB / 405.2 MB, free: 3.449 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.3268, allocations: 1.354 MB / 406.5 MB, free: 1.973 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.3271, allocations: 0.6924 MB / 407.2 MB, free: 1.254 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.248e-05/0.3272, allocations: 0 / 407.2 MB, free: 1.254 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/0.3272, allocations: 27.42 kB / 407.3 MB, free: 1.227 MB / 318.1 MB Notification: Performance of SimCode: time 3e-07/0.3272, allocations: 0 / 407.3 MB, free: 1.227 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/0.3486, allocations: 1.732 MB / 409 MB, free: 15.61 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.961/8.309, allocations: 12.61 kB / 409 MB, free: 15.59 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.6e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches