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.002203/0.002202, allocations: 110.8 kB / 17.06 MB, free: 5.977 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.002216/0.002216, allocations: 200 kB / 18.01 MB, free: 5.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.711/2.711, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002597/0.002597, allocations: 43.94 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5833/0.5859, allocations: 49.44 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.004938/0.5909, allocations: 0.9471 MB / 401.2 MB, free: 7.711 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006883/0.5917, allocations: 121.3 kB / 401.3 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001581/0.5919, allocations: 1.031 kB / 401.3 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.801e-05/0.592, allocations: 9.031 kB / 401.3 MB, free: 7.609 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002062/0.5922, allocations: 8.938 kB / 401.3 MB, free: 7.602 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004873/0.5928, allocations: 45.61 kB / 401.4 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.593, allocations: 48.03 kB / 401.4 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.5931, allocations: 12.72 kB / 401.4 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.699e-05/0.5932, allocations: 17.3 kB / 401.4 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.461e-05/0.5933, allocations: 24.2 kB / 401.5 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.7e-05/0.5934, allocations: 7.125 kB / 401.5 MB, free: 7.496 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.862e-05/0.5934, allocations: 3.188 kB / 401.5 MB, free: 7.496 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.808e-05/0.5935, allocations: 12.41 kB / 401.5 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.785e-05/0.5936, allocations: 29.27 kB / 401.5 MB, free: 7.465 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.5938, allocations: 56.3 kB / 401.6 MB, free: 7.422 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.5938, allocations: 1.125 kB / 401.6 MB, free: 7.422 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.5938, allocations: 0 / 401.6 MB, free: 7.422 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.5938, allocations: 0 / 401.6 MB, free: 7.422 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.000745/0.5946, allocations: 370.8 kB / 401.9 MB, free: 7.035 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.881e-05/0.5947, allocations: 17.11 kB / 402 MB, free: 7.027 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.949e-05/0.5948, allocations: 37.28 kB / 402 MB, free: 6.984 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.792e-05/0.5948, allocations: 8.969 kB / 402 MB, free: 6.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005847/0.5954, allocations: 198.3 kB / 402.2 MB, free: 6.758 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.5955, allocations: 7.281 kB / 402.2 MB, free: 6.754 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.5955, allocations: 4.156 kB / 402.2 MB, free: 6.754 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005396/0.5961, allocations: 136 kB / 402.3 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.5961, allocations: 3.984 kB / 402.3 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.5961, allocations: 0 / 402.3 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.5962, allocations: 4 kB / 402.3 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.434e-05/0.5963, allocations: 19.94 kB / 402.4 MB, free: 6.594 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003134/0.5966, allocations: 169.6 kB / 402.5 MB, free: 6.379 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.5969, allocations: 66.77 kB / 402.6 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.597, allocations: 36.84 kB / 402.6 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.597, allocations: 3.938 kB / 402.6 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.648e-05/0.5971, allocations: 34.5 kB / 402.7 MB, free: 6.219 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 2.926e-06/0.5971, allocations: 0 / 402.7 MB, free: 6.219 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004409/0.5976, allocations: 85.59 kB / 402.8 MB, free: 6.129 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.5977, allocations: 59.41 kB / 402.8 MB, free: 6.059 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.5979, allocations: 136.5 kB / 402.9 MB, free: 5.918 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.598, allocations: 25.7 kB / 403 MB, free: 5.887 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.762e-05/0.5981, allocations: 92.28 kB / 403.1 MB, free: 5.793 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.5981, allocations: 7.844 kB / 403.1 MB, free: 5.785 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.5983, allocations: 25.72 kB / 403.1 MB, free: 5.754 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0003287/0.5986, allocations: 318.8 kB / 403.4 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.452e-05/0.5987, allocations: 11.94 kB / 403.4 MB, free: 5.422 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.5988, allocations: 66.78 kB / 403.5 MB, free: 5.332 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.599, allocations: 70.75 kB / 403.5 MB, free: 5.238 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.599, allocations: 4 kB / 403.6 MB, free: 5.234 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002374/0.5992, allocations: 93.39 kB / 403.6 MB, free: 5.137 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.5993, allocations: 4.25 kB / 403.6 MB, free: 5.133 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.5993, allocations: 8 kB / 403.7 MB, free: 5.125 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/0.5993, allocations: 0 / 403.7 MB, free: 5.125 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.5995, allocations: 19.94 kB / 403.7 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.5995, allocations: 0 / 403.7 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.629e-05/0.5996, allocations: 11.94 kB / 403.7 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.5996, allocations: 8 kB / 403.7 MB, free: 5.086 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 0.0001782/0.5998, allocations: 125.8 kB / 403.8 MB, free: 4.953 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.5999, allocations: 73.84 kB / 403.9 MB, free: 4.875 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.436e-05/0.6, allocations: 12.72 kB / 403.9 MB, free: 4.859 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.6, allocations: 4 kB / 403.9 MB, free: 4.855 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.6001, allocations: 0 / 403.9 MB, free: 4.855 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.6001, allocations: 0 / 403.9 MB, free: 4.855 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/0.6003, allocations: 169.6 kB / 404.1 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.6003, allocations: 0 / 404.1 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.6004, allocations: 15.94 kB / 404.1 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.6005, allocations: 0 / 404.1 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.6005, allocations: 8 kB / 404.1 MB, free: 4.617 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.6005, allocations: 0 / 404.1 MB, free: 4.617 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.6005, allocations: 0 / 404.1 MB, free: 4.617 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.6008, allocations: 109 kB / 404.2 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.6009, allocations: 100.9 kB / 404.3 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.601, allocations: 0 / 404.3 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.801e-05/0.601, allocations: 8 kB / 404.3 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.096e-05/0.601, allocations: 0 / 404.3 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.6011, allocations: 0 / 404.3 MB, free: 4.367 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001258/0.6012, allocations: 106.1 kB / 404.4 MB, free: 4.266 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.6012, allocations: 0 / 404.4 MB, free: 4.266 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003581/0.6016, allocations: 8 kB / 404.4 MB, free: 4.258 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.0007834/0.6024, allocations: 0.6746 MB / 405.1 MB, free: 3.555 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002005/0.6026, allocations: 43.92 kB / 405.1 MB, free: 3.512 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.6026, allocations: 4.75 kB / 405.1 MB, free: 3.508 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.6026, allocations: 4 kB / 405.1 MB, free: 3.504 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005576/0.6032, allocations: 51.83 kB / 405.2 MB, free: 3.453 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.6053, allocations: 1.329 MB / 406.5 MB, free: 1.996 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.6057, allocations: 0.6924 MB / 407.2 MB, free: 1.277 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.856e-05/0.6058, allocations: 11.98 kB / 407.2 MB, free: 1.266 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.475e-05/0.6058, allocations: 19.44 kB / 407.2 MB, free: 1.246 MB / 318.1 MB Notification: Performance of SimCode: time 4.217e-06/0.6059, allocations: 0 / 407.2 MB, free: 1.246 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0751/0.681, allocations: 1.756 MB / 409 MB, free: 15.6 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.88, allocations: 7.531 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 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.mat","/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