Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001868/0.001868, 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.436/1.436, 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.001063/0.001063, allocations: 103.3 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008531/0.0008533, allocations: 43.94 kB / 350 MB, free: 64 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3276, allocations: 49.43 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002198/0.3298, allocations: 0.9115 MB / 400.4 MB, free: 32.47 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003088/0.3302, allocations: 115.7 kB / 400.5 MB, free: 32.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.817e-05/0.3303, allocations: 0 / 400.5 MB, free: 32.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001384/0.3304, allocations: 11.92 kB / 400.5 MB, free: 32.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.3305, allocations: 4 kB / 400.5 MB, free: 32.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.3307, allocations: 35.91 kB / 400.5 MB, free: 32.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.3309, allocations: 41.66 kB / 400.6 MB, free: 32.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.331, allocations: 20 kB / 400.6 MB, free: 32.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.989e-05/0.331, allocations: 15.92 kB / 400.6 MB, free: 32.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.38e-05/0.3311, allocations: 23.86 kB / 400.6 MB, free: 32.21 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.3312, allocations: 0 / 400.6 MB, free: 32.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.361e-05/0.3312, allocations: 7.938 kB / 400.7 MB, free: 32.2 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.458e-05/0.3312, allocations: 19.91 kB / 400.7 MB, free: 32.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.26e-05/0.3313, allocations: 27.81 kB / 400.7 MB, free: 32.15 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.545e-05/0.3314, allocations: 51.75 kB / 400.7 MB, free: 32.1 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3314, allocations: 0 / 400.7 MB, free: 32.1 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.3314, allocations: 0 / 400.7 MB, free: 32.1 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.3314, allocations: 7.938 kB / 400.8 MB, free: 32.09 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.0005018/0.3319, allocations: 376.8 kB / 401.1 MB, free: 31.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.332, allocations: 8.031 kB / 401.1 MB, free: 31.67 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.332, allocations: 8.844 kB / 401.1 MB, free: 31.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.3322, allocations: 200 kB / 401.3 MB, free: 31.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.3322, allocations: 4.375 kB / 401.3 MB, free: 31.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.3322, allocations: 8.375 kB / 401.3 MB, free: 31.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.3325, allocations: 143.7 kB / 401.5 MB, free: 31.26 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.3325, allocations: 192 / 401.5 MB, free: 31.26 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.3325, allocations: 7.938 kB / 401.5 MB, free: 31.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.3325, allocations: 0 / 401.5 MB, free: 31.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.588e-05/0.3326, allocations: 23.98 kB / 401.5 MB, free: 31.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001293/0.3327, allocations: 169.6 kB / 401.7 MB, free: 31.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.3328, allocations: 82.64 kB / 401.8 MB, free: 30.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.958e-05/0.3329, allocations: 44.89 kB / 401.8 MB, free: 30.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.3329, allocations: 3.938 kB / 401.8 MB, free: 30.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.3329, allocations: 34.56 kB / 401.8 MB, free: 30.83 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.333, allocations: 0 / 401.8 MB, free: 30.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001954/0.3332, allocations: 105.6 kB / 401.9 MB, free: 30.72 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.3332, allocations: 67.39 kB / 402 MB, free: 30.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.294e-05/0.3333, allocations: 137.3 kB / 402.1 MB, free: 30.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.3333, allocations: 29.7 kB / 402.2 MB, free: 30.47 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.834e-05/0.3334, allocations: 84.14 kB / 402.3 MB, free: 30.38 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.3334, allocations: 7.984 kB / 402.3 MB, free: 30.38 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/0.3334, allocations: 25.62 kB / 402.3 MB, free: 30.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.792e-05/0.3335, allocations: 322.8 kB / 402.6 MB, free: 30.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.006e-05/0.3335, allocations: 8 kB / 402.6 MB, free: 30.01 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.529e-05/0.3335, allocations: 66.8 kB / 402.7 MB, free: 29.92 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.612e-05/0.3336, allocations: 70.81 kB / 402.8 MB, free: 29.83 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3336, allocations: 0 / 402.8 MB, free: 29.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.316e-05/0.3337, allocations: 89.7 kB / 402.8 MB, free: 29.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.3337, allocations: 15.97 kB / 402.9 MB, free: 29.72 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3337, allocations: 0 / 402.9 MB, free: 29.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.3338, allocations: 4 kB / 402.9 MB, free: 29.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.267e-05/0.3338, allocations: 19.92 kB / 402.9 MB, free: 29.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.3338, allocations: 4 kB / 402.9 MB, free: 29.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.256e-05/0.3339, allocations: 4.094 kB / 402.9 MB, free: 29.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.3339, allocations: 4 kB / 402.9 MB, free: 29.68 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 (sum.y,sum.u[2],sum.u[1],const.y,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 7.019e-05/0.334, allocations: 141.6 kB / 403 MB, free: 29.54 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.947e-05/0.3341, allocations: 85.47 kB / 403.1 MB, free: 29.45 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.3341, allocations: 16.72 kB / 403.1 MB, free: 29.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3341, allocations: 3.984 kB / 403.1 MB, free: 29.42 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3341, allocations: 0 / 403.1 MB, free: 29.42 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3341, allocations: 0 / 403.1 MB, free: 29.42 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.736e-05/0.3342, allocations: 173.6 kB / 403.3 MB, free: 29.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3342, allocations: 3.938 kB / 403.3 MB, free: 29.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.983e-05/0.3343, allocations: 15.98 kB / 403.3 MB, free: 29.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3343, allocations: 3.938 kB / 403.3 MB, free: 29.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.3343, allocations: 0 / 403.3 MB, free: 29.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3343, allocations: 0 / 403.3 MB, free: 29.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3343, allocations: 4 kB / 403.3 MB, free: 29.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.3346, allocations: 0.6906 MB / 404 MB, free: 28.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.442e-05/0.3347, allocations: 89 kB / 404.1 MB, free: 28.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.3347, allocations: 4 kB / 404.1 MB, free: 28.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.183e-05/0.3347, allocations: 7.984 kB / 404.1 MB, free: 28.31 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-06/0.3347, allocations: 4 kB / 404.1 MB, free: 28.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.3347, allocations: 4 kB / 404.1 MB, free: 28.3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.916e-05/0.3348, allocations: 103.3 kB / 404.2 MB, free: 28.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3348, allocations: 0 / 404.2 MB, free: 28.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002813/0.3351, allocations: 12 kB / 404.2 MB, free: 28.19 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,const.y,sum.u[1],sum.u[2],sum.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 8.936e-05/0.3352, allocations: 108.2 kB / 404.3 MB, free: 28.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.3353, allocations: 48.34 kB / 404.4 MB, free: 28.03 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3353, allocations: 4.062 kB / 404.4 MB, free: 28.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.3353, allocations: 0 / 404.4 MB, free: 28.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.3356, allocations: 47.95 kB / 404.4 MB, free: 27.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003133/0.3359, allocations: 323.4 kB / 404.8 MB, free: 27.62 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.336, allocations: 0.7043 MB / 405.5 MB, free: 26.89 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.116e-05/0.3361, allocations: 4.672 kB / 405.5 MB, free: 26.88 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.953e-05/0.3361, allocations: 11.44 kB / 405.5 MB, free: 26.87 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3361, allocations: 0 / 405.5 MB, free: 26.87 MB / 298.7 MB Notification: Performance of Templates: time 0.002701/0.3388, allocations: 0.6809 MB / 406.2 MB, free: 26.2 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches