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.001541/0.001541, allocations: 109.3 kB / 17.06 MB, free: 6.023 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.001588/0.001588, allocations: 191 kB / 18 MB, free: 5.105 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.563/1.563, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001044/0.001044, allocations: 51.92 kB / 351.3 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.379, allocations: 49.42 MB / 400.7 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002472/0.3815, allocations: 0.9183 MB / 401.6 MB, free: 7.988 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000399/0.3819, allocations: 143.5 kB / 401.8 MB, free: 7.848 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.382, allocations: 0 / 401.8 MB, free: 7.848 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001404/0.3822, allocations: 23.8 kB / 401.8 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.3824, allocations: 3.938 kB / 401.8 MB, free: 7.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.3826, allocations: 54 kB / 401.8 MB, free: 7.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.3828, allocations: 67.78 kB / 401.9 MB, free: 7.703 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/0.383, allocations: 47.97 kB / 402 MB, free: 7.656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.538e-05/0.3831, allocations: 23.92 kB / 402 MB, free: 7.633 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.3832, allocations: 39.78 kB / 402 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.793e-05/0.3832, allocations: 4 kB / 402 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.867e-05/0.3832, allocations: 8 kB / 402 MB, free: 7.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.679e-05/0.3833, allocations: 27.91 kB / 402.1 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.864e-05/0.3834, allocations: 47.67 kB / 402.1 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.3836, allocations: 91.58 kB / 402.2 MB, free: 7.418 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3836, allocations: 0 / 402.2 MB, free: 7.418 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.804e-05/0.3836, allocations: 0 / 402.2 MB, free: 7.418 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.3836, allocations: 3.938 kB / 402.2 MB, free: 7.414 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.0005647/0.3842, allocations: 416.2 kB / 402.6 MB, free: 6.961 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.3843, allocations: 8.031 kB / 402.6 MB, free: 6.953 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.3844, allocations: 16.75 kB / 402.6 MB, free: 6.938 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000325/0.3847, allocations: 216 kB / 402.8 MB, free: 6.688 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.3847, allocations: 4.375 kB / 402.8 MB, free: 6.684 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.3848, allocations: 8.375 kB / 402.9 MB, free: 6.676 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004619/0.3852, allocations: 235.7 kB / 403.1 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.3853, allocations: 192 / 403.1 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.3853, allocations: 3.938 kB / 403.1 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.3853, allocations: 7.984 kB / 403.1 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.25e-05/0.3854, allocations: 47.91 kB / 403.1 MB, free: 6.375 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001952/0.3856, allocations: 189.5 kB / 403.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.3859, allocations: 158.9 kB / 403.5 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.386, allocations: 80.83 kB / 403.6 MB, free: 5.895 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.386, allocations: 0 / 403.6 MB, free: 5.895 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.3861, allocations: 38.55 kB / 403.6 MB, free: 5.848 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.3861, allocations: 4 kB / 403.6 MB, free: 5.844 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003342/0.3864, allocations: 169.7 kB / 403.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.256e-05/0.3865, allocations: 74.48 kB / 403.8 MB, free: 5.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.3867, allocations: 154.2 kB / 404 MB, free: 5.43 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.3867, allocations: 33.64 kB / 404 MB, free: 5.391 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.557e-05/0.3868, allocations: 96.45 kB / 404.1 MB, free: 5.289 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.3868, allocations: 11.84 kB / 404.1 MB, free: 5.277 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.614e-05/0.3869, allocations: 37.7 kB / 404.2 MB, free: 5.234 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3871, allocations: 330.8 kB / 404.5 MB, free: 4.902 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.07e-05/0.3871, allocations: 19.98 kB / 404.5 MB, free: 4.883 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.3873, allocations: 125.7 kB / 404.6 MB, free: 4.711 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.3874, allocations: 153.5 kB / 404.8 MB, free: 4.512 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.3874, allocations: 0 / 404.8 MB, free: 4.512 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002591/0.3877, allocations: 157.6 kB / 404.9 MB, free: 4.352 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.3877, allocations: 12.03 kB / 405 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.3878, allocations: 7.938 kB / 405 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.3878, allocations: 4 kB / 405 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.3879, allocations: 31.92 kB / 405 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.3879, allocations: 11.98 kB / 405 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.301e-05/0.388, allocations: 12 kB / 405 MB, free: 4.273 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.388, allocations: 11.94 kB / 405 MB, free: 4.262 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.0001383/0.3882, allocations: 153.7 kB / 405.2 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.3883, allocations: 137.4 kB / 405.3 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.865e-05/0.3884, allocations: 21.12 kB / 405.3 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.3884, allocations: 0 / 405.3 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3884, allocations: 0 / 405.3 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3884, allocations: 0 / 405.3 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.3886, allocations: 193.5 kB / 405.5 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3886, allocations: 3.984 kB / 405.5 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.3887, allocations: 31.98 kB / 405.6 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.3887, allocations: 0 / 405.6 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.3888, allocations: 7.938 kB / 405.6 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.3888, allocations: 4 kB / 405.6 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3888, allocations: 0 / 405.6 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002079/0.389, allocations: 160.9 kB / 405.7 MB, free: 3.477 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.3891, allocations: 108.8 kB / 405.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.3891, allocations: 11.92 kB / 405.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.746e-05/0.3892, allocations: 0 / 405.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-06/0.3892, allocations: 4 kB / 405.8 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.3892, allocations: 4 kB / 405.9 MB, free: 3.332 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.69e-05/0.3893, allocations: 123.7 kB / 406 MB, free: 3.215 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3893, allocations: 0 / 406 MB, free: 3.215 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002224/0.3895, allocations: 16 kB / 406 MB, free: 3.199 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.0002195/0.3898, allocations: 107.8 kB / 406.1 MB, free: 3.086 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002787/0.39, allocations: 108.1 kB / 406.2 MB, free: 2.98 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3901, allocations: 0 / 406.2 MB, free: 2.98 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.3901, allocations: 7.938 kB / 406.2 MB, free: 2.973 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004745/0.3905, allocations: 97.58 kB / 406.3 MB, free: 2.883 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005852/0.3911, allocations: 254.3 kB / 406.6 MB, free: 2.609 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006749/0.3918, allocations: 0.7168 MB / 407.3 MB, free: 1.867 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.032e-05/0.3919, allocations: 17.06 kB / 407.3 MB, free: 1.852 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.884e-05/0.392, allocations: 15.44 kB / 407.3 MB, free: 1.836 MB / 318.1 MB Notification: Performance of SimCode: time 1.91e-07/0.392, allocations: 0 / 407.3 MB, free: 1.836 MB / 318.1 MB Notification: Performance of Templates: time 0.004807/0.3968, allocations: 1.166 MB / 408.5 MB, free: 0.6836 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