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.001225/0.001225, 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.001466/0.001466, allocations: 195 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.432/1.432, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 48.08 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3331, allocations: 49.43 MB / 400.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002396/0.3356, allocations: 0.958 MB / 401.2 MB, free: 7.723 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003679/0.3359, allocations: 116.4 kB / 401.3 MB, free: 7.633 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.916e-05/0.336, allocations: 6.094 kB / 401.3 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.362e-05/0.3361, allocations: 3.938 kB / 401.3 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.3363, allocations: 10.27 kB / 401.3 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.3365, allocations: 42.05 kB / 401.4 MB, free: 7.586 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.3366, allocations: 40.11 kB / 401.4 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.3368, allocations: 21.27 kB / 401.4 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.554e-05/0.3368, allocations: 13.25 kB / 401.4 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.517e-05/0.3369, allocations: 27.28 kB / 401.5 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.3369, allocations: 3.469 kB / 401.5 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.406e-05/0.3369, allocations: 3.562 kB / 401.5 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.481e-05/0.337, allocations: 16.3 kB / 401.5 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.556e-05/0.337, allocations: 25.12 kB / 401.5 MB, free: 7.484 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.3372, allocations: 60.06 kB / 401.6 MB, free: 7.441 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3372, allocations: 4 kB / 401.6 MB, free: 7.438 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.3372, allocations: 0 / 401.6 MB, free: 7.438 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.3372, allocations: 1.094 kB / 401.6 MB, free: 7.438 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.0004752/0.3377, allocations: 380.3 kB / 401.9 MB, free: 7.039 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.3377, allocations: 9.094 kB / 402 MB, free: 7.039 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.063e-05/0.3378, allocations: 41.05 kB / 402 MB, free: 6.992 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.3378, allocations: 9.453 kB / 402 MB, free: 6.988 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.3381, allocations: 194.4 kB / 402.2 MB, free: 6.77 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.3381, allocations: 10.58 kB / 402.2 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.3381, allocations: 5.438 kB / 402.2 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/0.3384, allocations: 127.6 kB / 402.3 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3384, allocations: 0 / 402.3 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.3384, allocations: 0 / 402.3 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.3384, allocations: 4 kB / 402.3 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.523e-05/0.3384, allocations: 20 kB / 402.4 MB, free: 6.598 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/0.3386, allocations: 173.6 kB / 402.5 MB, free: 6.379 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.3387, allocations: 70.59 kB / 402.6 MB, free: 6.301 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.88e-05/0.3388, allocations: 36.89 kB / 402.6 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.3388, allocations: 0 / 402.6 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.3389, allocations: 38.5 kB / 402.7 MB, free: 6.215 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 2.595e-06/0.3389, allocations: 3.984 kB / 402.7 MB, free: 6.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001934/0.3391, allocations: 93.72 kB / 402.8 MB, free: 6.113 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.3391, allocations: 59.41 kB / 402.8 MB, free: 6.043 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.3393, allocations: 135.8 kB / 403 MB, free: 5.902 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.3393, allocations: 25.7 kB / 403 MB, free: 5.871 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.068e-05/0.3393, allocations: 88.14 kB / 403.1 MB, free: 5.781 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.3394, allocations: 7.953 kB / 403.1 MB, free: 5.773 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/0.3394, allocations: 29.7 kB / 403.1 MB, free: 5.738 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.3395, allocations: 314.8 kB / 403.4 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.018e-05/0.3396, allocations: 8 kB / 403.4 MB, free: 5.414 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.955e-05/0.3396, allocations: 58.8 kB / 403.5 MB, free: 5.332 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.47e-05/0.3397, allocations: 66.81 kB / 403.5 MB, free: 5.242 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.3397, allocations: 8 kB / 403.6 MB, free: 5.234 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001262/0.3398, allocations: 97.38 kB / 403.6 MB, free: 5.133 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.3399, allocations: 4 kB / 403.7 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.3399, allocations: 4 kB / 403.7 MB, free: 5.125 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.3399, allocations: 0 / 403.7 MB, free: 5.125 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.231e-05/0.34, allocations: 23.92 kB / 403.7 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.34, allocations: 3.938 kB / 403.7 MB, free: 5.098 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.478e-05/0.34, allocations: 12.25 kB / 403.7 MB, free: 5.086 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.34, allocations: 4 kB / 403.7 MB, free: 5.082 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.711e-05/0.3401, allocations: 113.8 kB / 403.8 MB, free: 4.961 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.292e-05/0.3402, allocations: 85.81 kB / 403.9 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/0.3403, allocations: 8.719 kB / 403.9 MB, free: 4.859 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3403, allocations: 4 kB / 403.9 MB, free: 4.855 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3403, allocations: 0 / 403.9 MB, free: 4.855 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3403, allocations: 3.984 kB / 403.9 MB, free: 4.852 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.3404, allocations: 173.5 kB / 404.1 MB, free: 4.633 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3404, allocations: 4 kB / 404.1 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.68e-05/0.3405, allocations: 19.92 kB / 404.1 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3405, allocations: 0 / 404.1 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.3405, allocations: 4 kB / 404.1 MB, free: 4.605 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3405, allocations: 8.188 kB / 404.1 MB, free: 4.598 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3405, allocations: 0 / 404.1 MB, free: 4.598 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.3406, allocations: 104.9 kB / 404.2 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.988e-05/0.3407, allocations: 96.98 kB / 404.3 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.3407, allocations: 0 / 404.3 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.249e-05/0.3408, allocations: 12 kB / 404.3 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-06/0.3408, allocations: 0 / 404.3 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.3408, allocations: 0 / 404.3 MB, free: 4.352 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.467e-05/0.3408, allocations: 110.5 kB / 404.4 MB, free: 4.246 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3409, allocations: 0 / 404.4 MB, free: 4.246 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001955/0.3411, allocations: 8 kB / 404.4 MB, free: 4.238 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.000474/0.3415, allocations: 0.6631 MB / 405.1 MB, free: 3.547 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.3417, allocations: 43.86 kB / 405.1 MB, free: 3.504 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3417, allocations: 0 / 405.1 MB, free: 3.504 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.3417, allocations: 4 kB / 405.1 MB, free: 3.5 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.342, allocations: 43.05 kB / 405.2 MB, free: 3.461 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.3432, allocations: 1.346 MB / 406.5 MB, free: 1.988 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.3435, allocations: 0.7002 MB / 407.2 MB, free: 1.262 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.391e-05/0.3435, allocations: 0 / 407.2 MB, free: 1.262 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.644e-05/0.3436, allocations: 19.42 kB / 407.3 MB, free: 1.242 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3436, allocations: 3.938 kB / 407.3 MB, free: 1.238 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01992/0.3635, allocations: 1.729 MB / 409 MB, free: 15.62 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.647/8.011, allocations: 8.609 kB / 409 MB, free: 15.61 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