Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001519/0.001519, allocations: 122.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001573/0.001573, allocations: 206 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.609/1.609, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 59.91 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3428, allocations: 50.55 MB / 409.2 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.00216/0.345, allocations: 0.8963 MB / 410.1 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003672/0.3454, allocations: 135.6 kB / 410.3 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.455e-05/0.3455, allocations: 4 kB / 410.3 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.3456, allocations: 23.8 kB / 410.3 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.3457, allocations: 11.91 kB / 410.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.346, allocations: 47.53 kB / 410.4 MB, free: 492 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.3461, allocations: 71.75 kB / 410.4 MB, free: 420 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.3462, allocations: 47.97 kB / 410.5 MB, free: 372 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.956e-05/0.3463, allocations: 19.92 kB / 410.5 MB, free: 352 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.754e-05/0.3464, allocations: 47.77 kB / 410.5 MB, free: 304 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.3464, allocations: 4 kB / 410.5 MB, free: 300 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.226e-05/0.3465, allocations: 8 kB / 410.6 MB, free: 292 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.99e-05/0.3465, allocations: 23.92 kB / 410.6 MB, free: 268 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.625e-05/0.3466, allocations: 47.67 kB / 410.6 MB, free: 220 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.3467, allocations: 91.38 kB / 410.7 MB, free: 132 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3468, allocations: 7.938 kB / 410.7 MB, free: 124 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3468, allocations: 0 / 410.7 MB, free: 124 kB / 318.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.3468, allocations: 0 / 410.7 MB, free: 124 kB / 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.0005326/0.3473, allocations: 418.9 kB / 411.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.3474, allocations: 8.031 kB / 411.1 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.529e-05/0.3474, allocations: 16.84 kB / 411.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.3477, allocations: 216.1 kB / 411.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.3477, allocations: 8.375 kB / 411.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.3477, allocations: 12.36 kB / 411.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004116/0.3481, allocations: 241.6 kB / 411.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.3481, allocations: 192 / 411.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.3482, allocations: 3.938 kB / 411.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.3482, allocations: 7.938 kB / 411.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.137e-05/0.3483, allocations: 51.91 kB / 411.7 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001624/0.3484, allocations: 193.5 kB / 411.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002329/0.3487, allocations: 150.9 kB / 412 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.3488, allocations: 84.81 kB / 412.1 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.3488, allocations: 4 kB / 412.1 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.3488, allocations: 34.56 kB / 412.1 MB, free: 14.53 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 9.61e-07/0.3488, allocations: 0 / 412.1 MB, free: 14.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002929/0.3491, allocations: 173 kB / 412.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.608e-05/0.3492, allocations: 67.34 kB / 412.4 MB, free: 14.28 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.3494, allocations: 165.2 kB / 412.5 MB, free: 14.11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.3494, allocations: 29.7 kB / 412.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.465e-05/0.3494, allocations: 96.47 kB / 412.7 MB, free: 13.97 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.3495, allocations: 11.88 kB / 412.7 MB, free: 13.96 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.736e-05/0.3495, allocations: 41.7 kB / 412.7 MB, free: 13.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3497, allocations: 326.8 kB / 413 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.595e-05/0.3497, allocations: 16 kB / 413 MB, free: 13.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.3498, allocations: 125.7 kB / 413.2 MB, free: 13.4 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.35, allocations: 153.5 kB / 413.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.35, allocations: 0 / 413.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002107/0.3502, allocations: 161.4 kB / 413.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.3502, allocations: 8 kB / 413.5 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.3502, allocations: 7.938 kB / 413.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.3503, allocations: 4 kB / 413.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.3504, allocations: 31.92 kB / 413.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.3504, allocations: 8 kB / 413.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.696e-05/0.3505, allocations: 11.95 kB / 413.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.3505, allocations: 8.375 kB / 413.6 MB, free: 12.96 MB / 334.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.0001269/0.3506, allocations: 149.7 kB / 413.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.3508, allocations: 141.4 kB / 413.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.008e-05/0.3508, allocations: 21.12 kB / 413.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3508, allocations: 0 / 413.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3509, allocations: 0 / 413.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.3509, allocations: 3.984 kB / 413.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.351, allocations: 193.6 kB / 414.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.351, allocations: 4 kB / 414.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.3511, allocations: 31.98 kB / 414.1 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3511, allocations: 0 / 414.1 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.3512, allocations: 3.938 kB / 414.1 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.256e-06/0.3512, allocations: 7.938 kB / 414.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3512, allocations: 0 / 414.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.3514, allocations: 164.9 kB / 414.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.754e-05/0.3515, allocations: 109 kB / 414.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.3515, allocations: 11.94 kB / 414.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.906e-05/0.3516, allocations: 0 / 414.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-06/0.3516, allocations: 4 kB / 414.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.3516, allocations: 0 / 414.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.938e-05/0.3517, allocations: 122.3 kB / 414.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3517, allocations: 0 / 414.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002275/0.3519, allocations: 16 kB / 414.5 MB, free: 11.89 MB / 334.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.0001464/0.3521, allocations: 123.2 kB / 414.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.3523, allocations: 103.7 kB / 414.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3523, allocations: 0 / 414.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.3523, allocations: 0 / 414.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.3527, allocations: 98.14 kB / 414.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004286/0.3531, allocations: 246.2 kB / 415.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.3535, allocations: 0.7201 MB / 415.8 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.736e-05/0.3536, allocations: 13.08 kB / 415.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/0.3536, allocations: 11.44 kB / 415.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3536, allocations: 0 / 415.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of Templates: time 0.003779/0.3574, allocations: 1.165 MB / 417 MB, free: 9.379 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches