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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 108.3 kB / 17.74 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 187.1 kB / 18.67 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 51.92 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3343, allocations: 49.42 MB / 401.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002204/0.3365, allocations: 0.9158 MB / 402.3 MB, free: 7.945 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003746/0.3369, allocations: 139.5 kB / 402.4 MB, free: 7.809 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.344e-05/0.337, allocations: 0 / 402.4 MB, free: 7.809 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.3371, allocations: 11.88 kB / 402.5 MB, free: 7.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.3373, allocations: 15.86 kB / 402.5 MB, free: 7.781 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.3375, allocations: 51.88 kB / 402.5 MB, free: 7.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.3377, allocations: 71.77 kB / 402.6 MB, free: 7.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.3378, allocations: 43.97 kB / 402.6 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.894e-05/0.3379, allocations: 31.86 kB / 402.7 MB, free: 7.586 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.318e-05/0.338, allocations: 31.84 kB / 402.7 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.338, allocations: 8 kB / 402.7 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.513e-05/0.338, allocations: 4 kB / 402.7 MB, free: 7.543 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.298e-05/0.3381, allocations: 27.92 kB / 402.7 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.687e-05/0.3381, allocations: 43.67 kB / 402.8 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.3383, allocations: 103.5 kB / 402.9 MB, free: 7.371 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.3383, allocations: 0 / 402.9 MB, free: 7.371 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3383, allocations: 0 / 402.9 MB, free: 7.371 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.3383, allocations: 0 / 402.9 MB, free: 7.371 MB / 318.1 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.0005718/0.3389, allocations: 412.2 kB / 403.3 MB, free: 6.922 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.3389, allocations: 11.97 kB / 403.3 MB, free: 6.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.339, allocations: 16.75 kB / 403.3 MB, free: 6.895 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.3392, allocations: 215.9 kB / 403.5 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.3392, allocations: 8.375 kB / 403.5 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.3393, allocations: 8.375 kB / 403.5 MB, free: 6.629 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003949/0.3397, allocations: 230.8 kB / 403.8 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.3397, allocations: 4.188 kB / 403.8 MB, free: 6.391 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.3397, allocations: 3.938 kB / 403.8 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3397, allocations: 0 / 403.8 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.636e-05/0.3398, allocations: 59.89 kB / 403.8 MB, free: 6.328 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001675/0.34, allocations: 185.5 kB / 404 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.3402, allocations: 150.9 kB / 404.2 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.3403, allocations: 92.05 kB / 404.3 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.3403, allocations: 0 / 404.3 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.3404, allocations: 30.56 kB / 404.3 MB, free: 5.812 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.012e-06/0.3404, allocations: 8 kB / 404.3 MB, free: 5.805 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002969/0.3407, allocations: 169.8 kB / 404.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.3408, allocations: 71.19 kB / 404.5 MB, free: 5.551 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.3409, allocations: 159.8 kB / 404.7 MB, free: 5.387 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.3409, allocations: 33.7 kB / 404.7 MB, free: 5.348 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.341, allocations: 88.47 kB / 404.8 MB, free: 5.254 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.341, allocations: 15.89 kB / 404.8 MB, free: 5.238 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.764e-05/0.3411, allocations: 37.7 kB / 404.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3412, allocations: 326.8 kB / 405.2 MB, free: 4.867 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.977e-05/0.3413, allocations: 23.98 kB / 405.2 MB, free: 4.844 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.3414, allocations: 121.7 kB / 405.3 MB, free: 4.676 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.3415, allocations: 157.5 kB / 405.5 MB, free: 4.473 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3415, allocations: 0 / 405.5 MB, free: 4.473 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000274/0.3418, allocations: 157.6 kB / 405.6 MB, free: 4.312 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.3418, allocations: 12.03 kB / 405.6 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.3419, allocations: 7.938 kB / 405.6 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3419, allocations: 4 kB / 405.6 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.342, allocations: 31.92 kB / 405.7 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.342, allocations: 4 kB / 405.7 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.772e-05/0.3421, allocations: 12 kB / 405.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.3421, allocations: 8 kB / 405.7 MB, free: 4.234 MB / 318.1 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 0.0001207/0.3422, allocations: 161.6 kB / 405.9 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/0.3424, allocations: 137.4 kB / 406 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.351e-05/0.3424, allocations: 17.12 kB / 406 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3425, allocations: 11.92 kB / 406 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.3425, allocations: 0 / 406 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3425, allocations: 0 / 406 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.3426, allocations: 197.5 kB / 406.2 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3426, allocations: 0 / 406.2 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.3427, allocations: 35.92 kB / 406.2 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3427, allocations: 0 / 406.2 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.3427, allocations: 7.938 kB / 406.3 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3427, allocations: 0 / 406.3 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3428, allocations: 0 / 406.3 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.343, allocations: 172.1 kB / 406.4 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.186e-05/0.343, allocations: 100.9 kB / 406.5 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.3431, allocations: 11.94 kB / 406.5 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.92e-05/0.3431, allocations: 0 / 406.5 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-06/0.3431, allocations: 0 / 406.5 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.637e-06/0.3431, allocations: 4 kB / 406.5 MB, free: 3.293 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.752e-05/0.3432, allocations: 130.1 kB / 406.7 MB, free: 3.168 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3432, allocations: 0 / 406.7 MB, free: 3.168 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002223/0.3434, allocations: 16 kB / 406.7 MB, free: 3.152 MB / 318.1 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 0.0001194/0.3436, allocations: 107.8 kB / 406.8 MB, free: 3.039 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001849/0.3438, allocations: 108.2 kB / 406.9 MB, free: 2.934 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.3438, allocations: 0 / 406.9 MB, free: 2.934 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.3438, allocations: 0 / 406.9 MB, free: 2.934 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.3441, allocations: 91.92 kB / 407 MB, free: 2.844 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003952/0.3446, allocations: 286.5 kB / 407.3 MB, free: 2.535 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.3449, allocations: 0.7167 MB / 408 MB, free: 1.793 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.953e-05/0.3449, allocations: 19.44 kB / 408 MB, free: 1.773 MB / 318.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3449, allocations: 0 / 408 MB, free: 1.773 MB / 318.1 MB Notification: Performance of Templates: time 0.002887/0.3478, allocations: 1.372 MB / 409.4 MB, free: 420 kB / 318.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches