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.001272/0.001273, allocations: 106.3 kB / 16.92 MB, free: 6.332 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.001144/0.001145, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.47/1.47, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001122, allocations: 48.22 kB / 300.7 MB, free: 5.789 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1266, allocations: 49.44 MB / 350.2 MB, free: 4.336 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002552/0.1292, allocations: 0.9398 MB / 351.1 MB, free: 3.387 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003419/0.1295, allocations: 119.5 kB / 351.2 MB, free: 3.27 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.919e-05/0.1296, allocations: 0 / 351.2 MB, free: 3.27 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.475e-05/0.1297, allocations: 7.922 kB / 351.2 MB, free: 3.262 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.1298, allocations: 7.938 kB / 351.2 MB, free: 3.254 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.1301, allocations: 41.89 kB / 351.3 MB, free: 3.215 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.706e-05/0.1302, allocations: 43.86 kB / 351.3 MB, free: 3.172 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.1303, allocations: 24.17 kB / 351.3 MB, free: 3.145 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.779e-05/0.1303, allocations: 11.94 kB / 351.4 MB, free: 3.133 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.527e-05/0.1304, allocations: 19.86 kB / 351.4 MB, free: 3.113 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.1304, allocations: 7.938 kB / 351.4 MB, free: 3.105 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.384e-05/0.1304, allocations: 4 kB / 351.4 MB, free: 3.102 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.253e-05/0.1305, allocations: 19.91 kB / 351.4 MB, free: 3.082 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.181e-05/0.1305, allocations: 27.81 kB / 351.4 MB, free: 3.055 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.1306, allocations: 47.81 kB / 351.5 MB, free: 3.008 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1306, allocations: 0 / 351.5 MB, free: 3.008 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1307, allocations: 0 / 351.5 MB, free: 3.008 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1307, allocations: 0 / 351.5 MB, free: 3.008 MB / 286.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.0004122/0.1311, allocations: 379.4 kB / 351.9 MB, free: 2.59 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.1311, allocations: 8.031 kB / 351.9 MB, free: 2.582 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.038e-05/0.1312, allocations: 42.73 kB / 351.9 MB, free: 2.531 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.726e-05/0.1312, allocations: 8.844 kB / 351.9 MB, free: 2.523 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.1314, allocations: 192.2 kB / 352.1 MB, free: 2.297 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.1314, allocations: 12.3 kB / 352.1 MB, free: 2.285 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.1314, allocations: 384 / 352.1 MB, free: 2.285 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.1317, allocations: 131.6 kB / 352.2 MB, free: 2.145 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1317, allocations: 3.984 kB / 352.2 MB, free: 2.141 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.1317, allocations: 4 kB / 352.2 MB, free: 2.137 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.1318, allocations: 0 / 352.2 MB, free: 2.137 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.847e-05/0.1318, allocations: 19.94 kB / 352.3 MB, free: 2.117 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001505/0.132, allocations: 173.5 kB / 352.4 MB, free: 1.898 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.1321, allocations: 74.69 kB / 352.5 MB, free: 1.816 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.569e-05/0.1322, allocations: 36.84 kB / 352.5 MB, free: 1.777 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.1322, allocations: 0 / 352.5 MB, free: 1.777 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.1322, allocations: 46.5 kB / 352.6 MB, free: 1.723 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.1322, allocations: 0 / 352.6 MB, free: 1.723 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.000192/0.1324, allocations: 93.61 kB / 352.7 MB, free: 1.625 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.1325, allocations: 55.41 kB / 352.7 MB, free: 1.559 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.1326, allocations: 140 kB / 352.9 MB, free: 1.414 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.1326, allocations: 25.7 kB / 352.9 MB, free: 1.383 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.717e-05/0.1327, allocations: 84.14 kB / 353 MB, free: 1.297 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.1327, allocations: 11.98 kB / 353 MB, free: 1.285 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.1328, allocations: 21.72 kB / 353 MB, free: 1.258 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1329, allocations: 322.8 kB / 353.3 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.876e-05/0.1329, allocations: 4 kB / 353.3 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.348e-05/0.133, allocations: 58.8 kB / 353.4 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.498e-05/0.1331, allocations: 70.81 kB / 353.5 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1331, allocations: 4 kB / 353.5 MB, free: 0.75 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001281/0.1332, allocations: 93.34 kB / 353.6 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1332, allocations: 11.98 kB / 353.6 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.1332, allocations: 320 / 353.6 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1333, allocations: 4 kB / 353.6 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.251e-05/0.1333, allocations: 12 kB / 353.6 MB, free: 0.625 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1333, allocations: 7.938 kB / 353.6 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.626e-05/0.1334, allocations: 8.25 kB / 353.6 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.1334, allocations: 7.984 kB / 353.6 MB, free: 0.6016 MB / 286.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 9.164e-05/0.1335, allocations: 121.8 kB / 353.7 MB, free: 484 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.659e-05/0.1336, allocations: 77.47 kB / 353.8 MB, free: 400 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.502e-05/0.1336, allocations: 12.72 kB / 353.8 MB, free: 384 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1336, allocations: 0 / 353.8 MB, free: 384 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1337, allocations: 0 / 353.8 MB, free: 384 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1337, allocations: 4 kB / 353.8 MB, free: 380 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.1338, allocations: 181.5 kB / 354 MB, free: 148 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1338, allocations: 0 / 354 MB, free: 148 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.901e-05/0.1339, allocations: 15.94 kB / 354 MB, free: 132 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1339, allocations: 7.938 kB / 354 MB, free: 124 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.1339, allocations: 4 kB / 354 MB, free: 120 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1339, allocations: 0 / 354 MB, free: 120 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1339, allocations: 0 / 354 MB, free: 120 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.134, allocations: 101 kB / 354.1 MB, free: 0 / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.063e-05/0.1341, allocations: 97.05 kB / 354.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.1342, allocations: 7.938 kB / 354.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.914e-05/0.1342, allocations: 8.188 kB / 354.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-06/0.1342, allocations: 0 / 354.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.1342, allocations: 3.938 kB / 354.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.688e-05/0.1343, allocations: 106.2 kB / 354.3 MB, free: 15.76 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1343, allocations: 0 / 354.3 MB, free: 15.76 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002022/0.1345, allocations: 8 kB / 354.3 MB, free: 15.75 MB / 302.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.0004746/0.135, allocations: 0.6631 MB / 355 MB, free: 15.06 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.1351, allocations: 51.86 kB / 355.1 MB, free: 15.01 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1351, allocations: 0 / 355.1 MB, free: 15.01 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.91e-07/0.1351, allocations: 0 / 355.1 MB, free: 15.01 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.1355, allocations: 43.95 kB / 355.1 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.1367, allocations: 1.336 MB / 356.4 MB, free: 13.51 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.137, allocations: 0.6963 MB / 357.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.149e-05/0.137, allocations: 11.98 kB / 357.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.662e-05/0.1371, allocations: 19.42 kB / 357.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1371, allocations: 4 kB / 357.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/0.1584, allocations: 1.697 MB / 358.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.018/8.176, allocations: 6.953 kB / 358.9 MB, free: 11.14 MB / 302.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