Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.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.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001885/0.001885, 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.415/1.415, allocations: 222.9 MB / 240.9 MB, free: 11 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.001124/0.001124, allocations: 109.9 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009183/0.0009184, allocations: 35.95 kB / 350 MB, free: 76 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.33, allocations: 49.44 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002116/0.3322, allocations: 0.9524 MB / 400.4 MB, free: 32.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003139/0.3325, allocations: 135.6 kB / 400.6 MB, free: 32.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.662e-05/0.3326, allocations: 3.938 kB / 400.6 MB, free: 32.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.3328, allocations: 11.92 kB / 400.6 MB, free: 32.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.3329, allocations: 11.92 kB / 400.6 MB, free: 32.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001982/0.3331, allocations: 40.47 kB / 400.6 MB, free: 32.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.62e-05/0.3332, allocations: 68.64 kB / 400.7 MB, free: 32.17 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.3333, allocations: 39.98 kB / 400.7 MB, free: 32.13 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.52e-05/0.3334, allocations: 23.92 kB / 400.8 MB, free: 32.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.409e-05/0.3335, allocations: 47.72 kB / 400.8 MB, free: 32.06 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.3335, allocations: 4 kB / 400.8 MB, free: 32.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.489e-05/0.3335, allocations: 4 kB / 400.8 MB, free: 32.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.857e-05/0.3336, allocations: 27.91 kB / 400.8 MB, free: 32.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.822e-05/0.3336, allocations: 43.67 kB / 400.9 MB, free: 31.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.3337, allocations: 87.64 kB / 401 MB, free: 31.89 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3337, allocations: 0 / 401 MB, free: 31.89 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3338, allocations: 0 / 401 MB, free: 31.89 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.3338, allocations: 0 / 401 MB, free: 31.89 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004424/0.3342, allocations: 412.5 kB / 401.4 MB, free: 31.44 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.3342, allocations: 16.03 kB / 401.4 MB, free: 31.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.506e-05/0.3343, allocations: 12.84 kB / 401.4 MB, free: 31.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.3345, allocations: 214.2 kB / 401.6 MB, free: 31.17 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.3345, allocations: 8.328 kB / 401.6 MB, free: 31.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.3345, allocations: 8.375 kB / 401.6 MB, free: 31.15 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003476/0.3349, allocations: 242.6 kB / 401.9 MB, free: 30.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3349, allocations: 192 / 401.9 MB, free: 30.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.3349, allocations: 3.938 kB / 401.9 MB, free: 30.9 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.3349, allocations: 0 / 401.9 MB, free: 30.9 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.96e-05/0.335, allocations: 51.91 kB / 401.9 MB, free: 30.85 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001233/0.3351, allocations: 185.6 kB / 402.1 MB, free: 30.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.3353, allocations: 167.4 kB / 402.3 MB, free: 30.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.634e-05/0.3354, allocations: 87.77 kB / 402.4 MB, free: 30.36 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.3355, allocations: 0 / 402.4 MB, free: 30.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.3355, allocations: 34.56 kB / 402.4 MB, free: 30.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 9.22e-07/0.3355, allocations: 0 / 402.4 MB, free: 30.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002515/0.3358, allocations: 169.7 kB / 402.6 MB, free: 30.15 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.3358, allocations: 71.28 kB / 402.6 MB, free: 30.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.3359, allocations: 165.8 kB / 402.8 MB, free: 29.9 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.3359, allocations: 33.69 kB / 402.8 MB, free: 29.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.929e-05/0.336, allocations: 92.47 kB / 402.9 MB, free: 29.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.336, allocations: 7.891 kB / 402.9 MB, free: 29.76 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.336, allocations: 37.72 kB / 403 MB, free: 29.71 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.199e-05/0.3361, allocations: 326.8 kB / 403.3 MB, free: 29.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.95e-05/0.3361, allocations: 19.98 kB / 403.3 MB, free: 29.37 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.295e-05/0.3362, allocations: 121.6 kB / 403.4 MB, free: 29.2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.3363, allocations: 157.5 kB / 403.6 MB, free: 29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3363, allocations: 0 / 403.6 MB, free: 29 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001663/0.3365, allocations: 157.2 kB / 403.7 MB, free: 28.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3365, allocations: 11.98 kB / 403.7 MB, free: 28.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.3365, allocations: 7.938 kB / 403.7 MB, free: 28.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3365, allocations: 4.5 kB / 403.7 MB, free: 28.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.3366, allocations: 31.94 kB / 403.8 MB, free: 28.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.3367, allocations: 15.97 kB / 403.8 MB, free: 28.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.234e-05/0.3367, allocations: 19.78 kB / 403.8 MB, free: 28.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.3367, allocations: 8 kB / 403.8 MB, free: 28.74 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 8.649e-05/0.3368, allocations: 141.8 kB / 404 MB, free: 28.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.337, allocations: 133.5 kB / 404.1 MB, free: 28.45 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.516e-05/0.337, allocations: 21.12 kB / 404.1 MB, free: 28.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.337, allocations: 4 kB / 404.1 MB, free: 28.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.337, allocations: 0 / 404.1 MB, free: 28.43 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.337, allocations: 0 / 404.1 MB, free: 28.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.739e-05/0.3371, allocations: 197.5 kB / 404.3 MB, free: 28.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3371, allocations: 0 / 404.3 MB, free: 28.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.88e-05/0.3372, allocations: 31.98 kB / 404.3 MB, free: 28.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3372, allocations: 0 / 404.3 MB, free: 28.15 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.3372, allocations: 3.938 kB / 404.3 MB, free: 28.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3372, allocations: 4 kB / 404.3 MB, free: 28.14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3373, allocations: 4 kB / 404.3 MB, free: 28.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.3376, allocations: 0.7837 MB / 405.1 MB, free: 27.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-05/0.3377, allocations: 101 kB / 405.2 MB, free: 27.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.3377, allocations: 7.938 kB / 405.2 MB, free: 27.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.947e-05/0.3377, allocations: 4 kB / 405.2 MB, free: 27.17 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.126e-06/0.3377, allocations: 0 / 405.2 MB, free: 27.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.3377, allocations: 8 kB / 405.2 MB, free: 27.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.116e-05/0.3378, allocations: 115.2 kB / 405.4 MB, free: 27.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3378, allocations: 0 / 405.4 MB, free: 27.05 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000308/0.3381, allocations: 16 kB / 405.4 MB, free: 27.04 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: 16 (unitDelay1.u,unitDelay1.y,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.y) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 9.287e-05/0.3382, allocations: 111.2 kB / 405.5 MB, free: 26.92 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001472/0.3384, allocations: 100.7 kB / 405.6 MB, free: 26.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3384, allocations: 12 kB / 405.6 MB, free: 26.81 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.3384, allocations: 0 / 405.6 MB, free: 26.81 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.3387, allocations: 95.86 kB / 405.7 MB, free: 26.71 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004151/0.3392, allocations: 439.4 kB / 406.1 MB, free: 26.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001602/0.3393, allocations: 0.728 MB / 406.8 MB, free: 25.49 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.498e-05/0.3394, allocations: 9.094 kB / 406.9 MB, free: 25.48 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.469e-05/0.3394, allocations: 19.42 kB / 406.9 MB, free: 25.46 MB / 298.7 MB Notification: Performance of SimCode: time 2.01e-07/0.3394, allocations: 0 / 406.9 MB, free: 25.46 MB / 298.7 MB Notification: Performance of Templates: time 0.003037/0.3425, allocations: 1.136 MB / 408 MB, free: 24.34 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches