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.001561/0.001561, allocations: 188.9 kB / 17.27 MB, free: 4.504 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.327/1.327, allocations: 222.9 MB / 240.9 MB, free: 10.98 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.001003/0.001003, allocations: 117.2 kB / 291.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009044/0.0009046, allocations: 43.94 kB / 350 MB, free: 56 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3, allocations: 49.43 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.003089/0.3032, allocations: 1.016 MB / 400.5 MB, free: 32.36 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003411/0.3035, allocations: 111.7 kB / 400.6 MB, free: 32.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.654e-05/0.3037, allocations: 0 / 400.6 MB, free: 32.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.635e-05/0.3037, allocations: 3.938 kB / 400.6 MB, free: 32.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.3039, allocations: 4 kB / 400.6 MB, free: 32.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.3042, allocations: 35.91 kB / 400.6 MB, free: 32.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.732e-05/0.3043, allocations: 43.84 kB / 400.7 MB, free: 32.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.3044, allocations: 14.94 kB / 400.7 MB, free: 32.14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.937e-05/0.3044, allocations: 15.92 kB / 400.7 MB, free: 32.13 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.842e-05/0.3045, allocations: 19.86 kB / 400.7 MB, free: 32.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.3045, allocations: 4 kB / 400.7 MB, free: 32.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.345e-05/0.3045, allocations: 8 kB / 400.7 MB, free: 32.1 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.197e-05/0.3046, allocations: 15.92 kB / 400.8 MB, free: 32.08 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.604e-05/0.3047, allocations: 31.8 kB / 400.8 MB, free: 32.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.3048, allocations: 43.81 kB / 400.8 MB, free: 32.01 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.3048, allocations: 0 / 400.8 MB, free: 32.01 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3048, allocations: 0 / 400.8 MB, free: 32.01 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.3048, allocations: 3.938 kB / 400.8 MB, free: 32 MB / 298.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.0004155/0.3052, allocations: 378.5 kB / 401.2 MB, free: 31.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3053, allocations: 12.03 kB / 401.2 MB, free: 31.58 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.3053, allocations: 12.84 kB / 401.2 MB, free: 31.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.3055, allocations: 189.4 kB / 401.4 MB, free: 31.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.3055, allocations: 8.375 kB / 401.4 MB, free: 31.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.3055, allocations: 4.375 kB / 401.4 MB, free: 31.33 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/0.3058, allocations: 131.8 kB / 401.6 MB, free: 31.19 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.3059, allocations: 3.938 kB / 401.6 MB, free: 31.19 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.3059, allocations: 4 kB / 401.6 MB, free: 31.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.3059, allocations: 0 / 401.6 MB, free: 31.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.163e-05/0.306, allocations: 19.94 kB / 401.6 MB, free: 31.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001468/0.3061, allocations: 173.6 kB / 401.8 MB, free: 30.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.3063, allocations: 70.59 kB / 401.8 MB, free: 30.87 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.132e-05/0.3064, allocations: 32.89 kB / 401.9 MB, free: 30.83 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.3064, allocations: 8 kB / 401.9 MB, free: 30.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.3064, allocations: 30.56 kB / 401.9 MB, free: 30.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.3064, allocations: 0 / 401.9 MB, free: 30.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002006/0.3066, allocations: 93.67 kB / 402 MB, free: 30.69 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.3067, allocations: 59.34 kB / 402 MB, free: 30.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.3068, allocations: 148.4 kB / 402.2 MB, free: 30.46 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.3068, allocations: 25.7 kB / 402.2 MB, free: 30.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.055e-05/0.3069, allocations: 84.14 kB / 402.3 MB, free: 30.35 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.3069, allocations: 12 kB / 402.3 MB, free: 30.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.3069, allocations: 17.72 kB / 402.3 MB, free: 30.31 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.009e-05/0.307, allocations: 322.8 kB / 402.6 MB, free: 29.99 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.209e-05/0.307, allocations: 4 kB / 402.6 MB, free: 29.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.318e-05/0.3071, allocations: 58.86 kB / 402.7 MB, free: 29.9 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.106e-05/0.3072, allocations: 74.75 kB / 402.8 MB, free: 29.8 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3072, allocations: 0 / 402.8 MB, free: 29.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001392/0.3073, allocations: 93.39 kB / 402.9 MB, free: 29.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.3074, allocations: 11.94 kB / 402.9 MB, free: 29.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3074, allocations: 0 / 402.9 MB, free: 29.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.3074, allocations: 4 kB / 402.9 MB, free: 29.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.922e-05/0.3075, allocations: 12.25 kB / 402.9 MB, free: 29.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.3075, allocations: 11.98 kB / 402.9 MB, free: 29.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.019e-05/0.3076, allocations: 7.938 kB / 402.9 MB, free: 29.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.3076, allocations: 8 kB / 402.9 MB, free: 29.65 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.566e-05/0.3077, allocations: 121.7 kB / 403 MB, free: 29.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.134e-05/0.3078, allocations: 73.53 kB / 403.1 MB, free: 29.45 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.623e-05/0.3078, allocations: 12.72 kB / 403.1 MB, free: 29.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3078, allocations: 0 / 403.1 MB, free: 29.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3078, allocations: 0 / 403.1 MB, free: 29.43 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3079, allocations: 4 kB / 403.1 MB, free: 29.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.888e-05/0.308, allocations: 177.5 kB / 403.3 MB, free: 29.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.308, allocations: 0 / 403.3 MB, free: 29.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.851e-05/0.308, allocations: 15.94 kB / 403.3 MB, free: 29.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.3081, allocations: 15.84 kB / 403.3 MB, free: 29.17 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.3081, allocations: 4 kB / 403.3 MB, free: 29.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3081, allocations: 192 / 403.3 MB, free: 29.17 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3081, allocations: 0 / 403.3 MB, free: 29.17 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003181/0.3084, allocations: 0.6785 MB / 404 MB, free: 28.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.992e-05/0.3085, allocations: 96.94 kB / 404.1 MB, free: 28.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.3085, allocations: 0 / 404.1 MB, free: 28.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.662e-05/0.3085, allocations: 4 kB / 404.1 MB, free: 28.31 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-06/0.3086, allocations: 0 / 404.1 MB, free: 28.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.3086, allocations: 4 kB / 404.1 MB, free: 28.31 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.9e-05/0.3086, allocations: 107.2 kB / 404.2 MB, free: 28.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3086, allocations: 0 / 404.2 MB, free: 28.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004544/0.3091, allocations: 4 kB / 404.2 MB, free: 28.2 MB / 298.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 (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.0001552/0.3093, allocations: 103.2 kB / 404.3 MB, free: 28.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001508/0.3094, allocations: 47.8 kB / 404.4 MB, free: 28.04 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3094, allocations: 0 / 404.4 MB, free: 28.04 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.22e-07/0.3094, allocations: 0 / 404.4 MB, free: 28.04 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005571/0.31, allocations: 44.64 kB / 404.4 MB, free: 28 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004378/0.3105, allocations: 306.8 kB / 404.7 MB, free: 27.66 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.3106, allocations: 0.7043 MB / 405.4 MB, free: 26.93 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.111e-05/0.3107, allocations: 4 kB / 405.4 MB, free: 26.92 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.953e-05/0.3107, allocations: 11.44 kB / 405.4 MB, free: 26.91 MB / 298.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3107, allocations: 4 kB / 405.4 MB, free: 26.91 MB / 298.7 MB Notification: Performance of Templates: time 0.003541/0.3143, allocations: 0.6113 MB / 406.1 MB, free: 26.3 MB / 298.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@2/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