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.001565/0.001565, allocations: 104.3 kB / 17.06 MB, free: 6.102 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.002103/0.002103, allocations: 196.1 kB / 18 MB, free: 5.176 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.591/1.591, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 43.94 kB / 351.3 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3822, allocations: 49.43 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002454/0.3847, allocations: 0.9218 MB / 401.6 MB, free: 7.961 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004623/0.3852, allocations: 139.5 kB / 401.8 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.3853, allocations: 0 / 401.8 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.3855, allocations: 15.81 kB / 401.8 MB, free: 7.809 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001777/0.3857, allocations: 15.91 kB / 401.8 MB, free: 7.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.3859, allocations: 43.91 kB / 401.8 MB, free: 7.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.3861, allocations: 71.75 kB / 401.9 MB, free: 7.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.3863, allocations: 43.98 kB / 402 MB, free: 7.637 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.701e-05/0.3864, allocations: 23.92 kB / 402 MB, free: 7.613 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.3865, allocations: 39.78 kB / 402 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.3865, allocations: 4 kB / 402 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.854e-05/0.3865, allocations: 8 kB / 402 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.776e-05/0.3866, allocations: 27.91 kB / 402.1 MB, free: 7.535 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.516e-05/0.3867, allocations: 47.67 kB / 402.1 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.3869, allocations: 95.56 kB / 402.2 MB, free: 7.395 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.328e-06/0.3869, allocations: 4 kB / 402.2 MB, free: 7.391 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.598e-06/0.3869, allocations: 0 / 402.2 MB, free: 7.391 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.387, allocations: 7.938 kB / 402.2 MB, free: 7.383 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.0006182/0.3876, allocations: 404.2 kB / 402.6 MB, free: 6.941 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.3876, allocations: 8.031 kB / 402.6 MB, free: 6.934 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.772e-05/0.3877, allocations: 16.75 kB / 402.6 MB, free: 6.918 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.388, allocations: 223.8 kB / 402.9 MB, free: 6.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.388, allocations: 4.375 kB / 402.9 MB, free: 6.656 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.388, allocations: 12.38 kB / 402.9 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004483/0.3885, allocations: 227.7 kB / 403.1 MB, free: 6.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.3885, allocations: 4.125 kB / 403.1 MB, free: 6.406 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.3885, allocations: 7.938 kB / 403.1 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.3885, allocations: 11.97 kB / 403.1 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.425e-05/0.3886, allocations: 43.97 kB / 403.2 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001975/0.3888, allocations: 193.5 kB / 403.3 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.3891, allocations: 146.9 kB / 403.5 MB, free: 5.953 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.3893, allocations: 84.81 kB / 403.6 MB, free: 5.867 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.3893, allocations: 0 / 403.6 MB, free: 5.867 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.3893, allocations: 38.56 kB / 403.6 MB, free: 5.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.203e-06/0.3893, allocations: 4 kB / 403.6 MB, free: 5.816 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003327/0.3897, allocations: 169.7 kB / 403.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.3897, allocations: 71.23 kB / 403.8 MB, free: 5.562 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.3899, allocations: 159.9 kB / 404 MB, free: 5.398 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.3899, allocations: 25.7 kB / 404 MB, free: 5.367 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/0.39, allocations: 92.47 kB / 404.1 MB, free: 5.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.39, allocations: 15.83 kB / 404.1 MB, free: 5.254 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-05/0.3901, allocations: 41.7 kB / 404.2 MB, free: 5.207 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.3903, allocations: 326.8 kB / 404.5 MB, free: 4.879 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.06e-05/0.3903, allocations: 23.98 kB / 404.5 MB, free: 4.855 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.3904, allocations: 120.2 kB / 404.6 MB, free: 4.691 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.3906, allocations: 161.5 kB / 404.8 MB, free: 4.484 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3906, allocations: 0 / 404.8 MB, free: 4.484 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002238/0.3908, allocations: 153.6 kB / 404.9 MB, free: 4.328 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.3909, allocations: 12.06 kB / 405 MB, free: 4.316 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.3909, allocations: 7.938 kB / 405 MB, free: 4.309 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.3909, allocations: 4 kB / 405 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.391, allocations: 39.92 kB / 405 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/0.3911, allocations: 7.938 kB / 405 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.82e-05/0.3911, allocations: 4 kB / 405 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.3912, allocations: 12 kB / 405 MB, free: 4.242 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.0001468/0.3913, allocations: 149.7 kB / 405.2 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/0.3915, allocations: 140.8 kB / 405.3 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.262e-05/0.3916, allocations: 29.11 kB / 405.3 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3916, allocations: 0 / 405.3 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3916, allocations: 0 / 405.3 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3916, allocations: 3.938 kB / 405.3 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.3918, allocations: 193.5 kB / 405.5 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3918, allocations: 0 / 405.5 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.3919, allocations: 27.98 kB / 405.6 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3919, allocations: 0 / 405.6 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.3919, allocations: 7.938 kB / 405.6 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.3919, allocations: 8 kB / 405.6 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.3919, allocations: 3.938 kB / 405.6 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/0.3922, allocations: 160.9 kB / 405.7 MB, free: 3.449 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.823e-05/0.3923, allocations: 112.8 kB / 405.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.585e-05/0.3923, allocations: 3.938 kB / 405.9 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.513e-05/0.3923, allocations: 8 kB / 405.9 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-06/0.3923, allocations: 0 / 405.9 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.3924, allocations: 3.984 kB / 405.9 MB, free: 3.305 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.761e-05/0.3925, allocations: 126.1 kB / 406 MB, free: 3.184 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3925, allocations: 0 / 406 MB, free: 3.184 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002447/0.3927, allocations: 16 kB / 406 MB, free: 3.168 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.0001388/0.3929, allocations: 111.7 kB / 406.1 MB, free: 3.051 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002098/0.3931, allocations: 100.4 kB / 406.2 MB, free: 2.953 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3931, allocations: 0 / 406.2 MB, free: 2.953 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.3931, allocations: 4 kB / 406.2 MB, free: 2.949 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.3935, allocations: 98.66 kB / 406.3 MB, free: 2.855 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004262/0.3939, allocations: 246.3 kB / 406.6 MB, free: 2.59 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.3942, allocations: 0.7244 MB / 407.3 MB, free: 1.84 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.485e-05/0.3943, allocations: 9.094 kB / 407.3 MB, free: 1.832 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/0.3943, allocations: 15.44 kB / 407.3 MB, free: 1.816 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3943, allocations: 0 / 407.3 MB, free: 1.816 MB / 318.1 MB Notification: Performance of Templates: time 0.003861/0.3982, allocations: 1.168 MB / 408.5 MB, free: 0.6602 MB / 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/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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches