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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009302/0.0009302, allocations: 181.2 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009251/0.0009252, allocations: 100.8 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002711/0.0002712, allocations: 8 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2814, allocations: 50.4 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.105/0.3865, allocations: 76.53 MB / 478 MB, free: 3.973 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/0.3868, allocations: 75.95 kB / 478.1 MB, free: 3.898 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003372/0.3902, allocations: 1.275 MB / 479.4 MB, free: 2.633 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.3902, allocations: 3.938 kB / 479.4 MB, free: 2.629 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.3903, allocations: 0 / 479.4 MB, free: 2.629 MB / 346.7 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.0004119/0.3907, allocations: 359.1 kB / 479.7 MB, free: 2.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.3907, allocations: 11.97 kB / 479.7 MB, free: 2.219 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.3908, allocations: 15.8 kB / 479.8 MB, free: 2.203 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.391, allocations: 193.7 kB / 480 MB, free: 1.977 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.391, allocations: 8 kB / 480 MB, free: 1.969 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.391, allocations: 8 kB / 480 MB, free: 1.961 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.3913, allocations: 123.2 kB / 480.1 MB, free: 1.828 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.3913, allocations: 3.938 kB / 480.1 MB, free: 1.824 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.3913, allocations: 3.938 kB / 480.1 MB, free: 1.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.3914, allocations: 3.953 kB / 480.1 MB, free: 1.816 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.046e-05/0.3914, allocations: 16 kB / 480.1 MB, free: 1.801 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000177/0.3916, allocations: 169.6 kB / 480.3 MB, free: 1.586 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.3917, allocations: 62.72 kB / 480.3 MB, free: 1.516 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.3917, allocations: 7.938 kB / 480.4 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.3918, allocations: 30.56 kB / 480.4 MB, free: 1.469 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.422e-06/0.3918, allocations: 4 kB / 480.4 MB, free: 1.465 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001956/0.392, allocations: 81.64 kB / 480.5 MB, free: 1.379 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.392, allocations: 63.39 kB / 480.5 MB, free: 1.305 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.3922, allocations: 125 kB / 480.6 MB, free: 1.172 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.3922, allocations: 25.7 kB / 480.7 MB, free: 1.141 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.609e-05/0.3922, allocations: 88.12 kB / 480.8 MB, free: 1.051 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.3922, allocations: 8 kB / 480.8 MB, free: 1.043 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.3922, allocations: 0 / 480.8 MB, free: 1.043 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.3924, allocations: 322.8 kB / 481.1 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.717e-05/0.3924, allocations: 7.938 kB / 481.1 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.043e-05/0.3924, allocations: 62.86 kB / 481.2 MB, free: 0.625 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.366e-05/0.3925, allocations: 16 kB / 481.2 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3925, allocations: 0 / 481.2 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001162/0.3926, allocations: 85.41 kB / 481.3 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.3926, allocations: 8 kB / 481.3 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.3927, allocations: 256 / 481.3 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.3927, allocations: 8 kB / 481.3 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.129e-05/0.3928, allocations: 23.92 kB / 481.3 MB, free: 492 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/0.3928, allocations: 4 kB / 481.3 MB, free: 488 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.041e-05/0.3928, allocations: 0 / 481.3 MB, free: 488 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.3928, allocations: 7.953 kB / 481.3 MB, free: 480 kB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.072e-05/0.3929, allocations: 122 kB / 481.4 MB, free: 348 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.985e-05/0.393, allocations: 81.97 kB / 481.5 MB, free: 260 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.594e-05/0.3931, allocations: 24.64 kB / 481.5 MB, free: 228 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.3931, allocations: 0 / 481.5 MB, free: 228 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3931, allocations: 4 kB / 481.5 MB, free: 224 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3931, allocations: 0 / 481.5 MB, free: 224 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.3932, allocations: 181.5 kB / 481.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3932, allocations: 0 / 481.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.392e-05/0.3933, allocations: 15.92 kB / 481.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3933, allocations: 4 kB / 481.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-06/0.3933, allocations: 0 / 481.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3933, allocations: 0 / 481.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3933, allocations: 0 / 481.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.3935, allocations: 112.9 kB / 481.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-05/0.3935, allocations: 89 kB / 481.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.3935, allocations: 4 kB / 481.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.697e-05/0.3936, allocations: 4 kB / 481.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.552e-06/0.3936, allocations: 0 / 481.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.3936, allocations: 0 / 481.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.534e-05/0.3937, allocations: 109.6 kB / 482 MB, free: 15.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3937, allocations: 0 / 482 MB, free: 15.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001871/0.3939, allocations: 12 kB / 482 MB, free: 15.61 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001269/0.394, allocations: 99.25 kB / 482.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001062/0.3941, allocations: 39.92 kB / 482.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3941, allocations: 0 / 482.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.3941, allocations: 0 / 482.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.3944, allocations: 47.91 kB / 482.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002842/0.3947, allocations: 183.8 kB / 482.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.3949, allocations: 0.7004 MB / 483.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.694e-05/0.395, allocations: 3.984 kB / 483.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.623e-05/0.395, allocations: 11.44 kB / 483.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of SimCode: time 1.734e-06/0.395, allocations: 0 / 483.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of Templates: time 0.002493/0.3975, allocations: 0.5482 MB / 483.7 MB, free: 13.93 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile (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 & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches