Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002101/0.002101, allocations: 186.5 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.541/1.541, allocations: 222.9 MB / 240.9 MB, free: 10.99 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.001074/0.001074, allocations: 101.4 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008405/0.0008407, allocations: 39.94 kB / 350 MB, free: 84 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3014, allocations: 49.44 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002442/0.3038, allocations: 0.9135 MB / 400.4 MB, free: 32.47 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003332/0.3042, allocations: 123.7 kB / 400.5 MB, free: 32.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.578e-05/0.3043, allocations: 0 / 400.5 MB, free: 32.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.75e-05/0.3044, allocations: 0 / 400.5 MB, free: 32.35 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001256/0.3045, allocations: 7.938 kB / 400.5 MB, free: 32.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.3048, allocations: 27.91 kB / 400.5 MB, free: 32.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.992e-05/0.3049, allocations: 35.97 kB / 400.6 MB, free: 32.28 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.305, allocations: 19.66 kB / 400.6 MB, free: 32.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.654e-05/0.305, allocations: 27.8 kB / 400.6 MB, free: 32.24 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.995e-05/0.3051, allocations: 15.92 kB / 400.6 MB, free: 32.22 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.3051, allocations: 0 / 400.6 MB, free: 32.22 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.551e-05/0.3051, allocations: 4 kB / 400.6 MB, free: 32.22 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.483e-05/0.3052, allocations: 15.92 kB / 400.7 MB, free: 32.2 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.461e-05/0.3053, allocations: 19.81 kB / 400.7 MB, free: 32.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.3054, allocations: 51.8 kB / 400.7 MB, free: 32.13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3054, allocations: 1.406 kB / 400.7 MB, free: 32.13 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3054, allocations: 0 / 400.7 MB, free: 32.13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.3054, allocations: 3.938 kB / 400.7 MB, free: 32.13 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.0003962/0.3058, allocations: 376.8 kB / 401.1 MB, free: 31.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.3059, allocations: 8.031 kB / 401.1 MB, free: 31.7 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.654e-05/0.3059, allocations: 8.844 kB / 401.1 MB, free: 31.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.3061, allocations: 196.7 kB / 401.3 MB, free: 31.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.3061, allocations: 8.312 kB / 401.3 MB, free: 31.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.3061, allocations: 8.375 kB / 401.3 MB, free: 31.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.3064, allocations: 127.8 kB / 401.5 MB, free: 31.31 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3064, allocations: 192 / 401.5 MB, free: 31.31 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.3064, allocations: 3.938 kB / 401.5 MB, free: 31.31 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.3064, allocations: 4 kB / 401.5 MB, free: 31.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.957e-05/0.3065, allocations: 15.98 kB / 401.5 MB, free: 31.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000125/0.3066, allocations: 169.6 kB / 401.6 MB, free: 31.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.3067, allocations: 70.66 kB / 401.7 MB, free: 31 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.066e-05/0.3068, allocations: 44.88 kB / 401.8 MB, free: 30.95 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.3068, allocations: 0 / 401.8 MB, free: 30.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.263e-05/0.3068, allocations: 30.56 kB / 401.8 MB, free: 30.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 8.22e-07/0.3068, allocations: 0 / 401.8 MB, free: 30.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001608/0.307, allocations: 93.47 kB / 401.9 MB, free: 30.81 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.307, allocations: 55.7 kB / 401.9 MB, free: 30.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.682e-05/0.3071, allocations: 144.9 kB / 402.1 MB, free: 30.6 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.846e-06/0.3072, allocations: 29.7 kB / 402.1 MB, free: 30.56 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.458e-05/0.3072, allocations: 84.12 kB / 402.2 MB, free: 30.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.3072, allocations: 4 kB / 402.2 MB, free: 30.47 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.3072, allocations: 29.61 kB / 402.2 MB, free: 30.44 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.778e-05/0.3073, allocations: 318.8 kB / 402.5 MB, free: 30.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.593e-05/0.3073, allocations: 7.984 kB / 402.5 MB, free: 30.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.157e-05/0.3073, allocations: 62.81 kB / 402.6 MB, free: 30.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.317e-05/0.3074, allocations: 78.8 kB / 402.7 MB, free: 29.92 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3074, allocations: 0 / 402.7 MB, free: 29.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 8.985e-05/0.3075, allocations: 81.5 kB / 402.8 MB, free: 29.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.3075, allocations: 8 kB / 402.8 MB, free: 29.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3075, allocations: 8.188 kB / 402.8 MB, free: 29.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3076, allocations: 4 kB / 402.8 MB, free: 29.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.753e-05/0.3076, allocations: 11.92 kB / 402.8 MB, free: 29.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.3076, allocations: 3.984 kB / 402.8 MB, free: 29.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.625e-05/0.3076, allocations: 8.188 kB / 402.8 MB, free: 29.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.3076, allocations: 4 kB / 402.8 MB, free: 29.79 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: 9 (integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * 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 6.058e-05/0.3077, allocations: 129.7 kB / 402.9 MB, free: 29.65 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.433e-05/0.3078, allocations: 73.53 kB / 403 MB, free: 29.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.258e-05/0.3078, allocations: 16.31 kB / 403 MB, free: 29.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3078, allocations: 4 kB / 403 MB, free: 29.55 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3078, allocations: 0 / 403 MB, free: 29.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3078, allocations: 3.984 kB / 403 MB, free: 29.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.771e-05/0.3079, allocations: 169.6 kB / 403.2 MB, free: 29.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3079, allocations: 0 / 403.2 MB, free: 29.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.508e-06/0.3079, allocations: 4 kB / 403.2 MB, free: 29.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.3079, allocations: 0 / 403.2 MB, free: 29.33 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.3079, allocations: 7.938 kB / 403.2 MB, free: 29.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.308, allocations: 0 / 403.2 MB, free: 29.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.308, allocations: 0 / 403.2 MB, free: 29.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.3082, allocations: 0.6668 MB / 403.9 MB, free: 28.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/0.3082, allocations: 93 kB / 404 MB, free: 28.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.3083, allocations: 4 kB / 404 MB, free: 28.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.288e-05/0.3083, allocations: 0 / 404 MB, free: 28.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-06/0.3083, allocations: 0 / 404 MB, free: 28.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.3083, allocations: 3.938 kB / 404 MB, free: 28.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.52e-05/0.3083, allocations: 107.3 kB / 404.1 MB, free: 28.37 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3084, allocations: 0 / 404.1 MB, free: 28.37 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002815/0.3086, allocations: 8 kB / 404.1 MB, free: 28.36 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,xor.u1,xor.u2,xor.y,integerConstant.y) * 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.0001003/0.3087, allocations: 107.2 kB / 404.2 MB, free: 28.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001087/0.3089, allocations: 43.91 kB / 404.2 MB, free: 28.21 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3089, allocations: 0.5 kB / 404.2 MB, free: 28.21 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.81e-07/0.3089, allocations: 0 / 404.2 MB, free: 28.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.3093, allocations: 51.95 kB / 404.3 MB, free: 28.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000341/0.3097, allocations: 303.6 kB / 404.6 MB, free: 27.82 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/0.3099, allocations: 0.6926 MB / 405.3 MB, free: 27.1 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.172e-05/0.3099, allocations: 8 kB / 405.3 MB, free: 27.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.596e-05/0.3099, allocations: 19.42 kB / 405.3 MB, free: 27.07 MB / 298.7 MB Notification: Performance of SimCode: time 2.01e-07/0.3099, allocations: 0 / 405.3 MB, free: 27.07 MB / 298.7 MB Notification: Performance of Templates: time 0.002363/0.3123, allocations: 0.606 MB / 405.9 MB, free: 26.47 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches