Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.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.BooleanSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00235/0.00235, allocations: 188.9 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.614/1.614, allocations: 222.9 MB / 240.9 MB, free: 10.98 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.001066/0.001066, allocations: 95.89 kB / 291.2 MB, free: 10.96 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009938/0.0009942, allocations: 39.94 kB / 350 MB, free: 84 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3798, allocations: 49.43 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002524/0.3824, allocations: 0.9711 MB / 400.4 MB, free: 32.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003335/0.3828, allocations: 131.6 kB / 400.6 MB, free: 32.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.3829, allocations: 0 / 400.6 MB, free: 32.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.3831, allocations: 7.938 kB / 400.6 MB, free: 32.28 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.962e-05/0.3832, allocations: 9.188 kB / 400.6 MB, free: 32.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.3834, allocations: 38.33 kB / 400.6 MB, free: 32.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.3835, allocations: 59.84 kB / 400.7 MB, free: 32.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.3837, allocations: 40.22 kB / 400.7 MB, free: 32.14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.774e-05/0.3837, allocations: 27.84 kB / 400.8 MB, free: 32.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.694e-05/0.3838, allocations: 35.78 kB / 400.8 MB, free: 32.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.3838, allocations: 4 kB / 400.8 MB, free: 32.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.447e-05/0.3838, allocations: 8 kB / 400.8 MB, free: 32.06 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.022e-05/0.3839, allocations: 19.92 kB / 400.8 MB, free: 32.04 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.215e-05/0.384, allocations: 39.73 kB / 400.9 MB, free: 32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.3841, allocations: 75.7 kB / 400.9 MB, free: 31.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3841, allocations: 0 / 400.9 MB, free: 31.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3841, allocations: 0 / 400.9 MB, free: 31.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.3841, allocations: 0 / 400.9 MB, free: 31.93 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.0004438/0.3846, allocations: 392.7 kB / 401.3 MB, free: 31.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.3846, allocations: 8.031 kB / 401.3 MB, free: 31.49 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.3847, allocations: 12.84 kB / 401.3 MB, free: 31.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.3849, allocations: 212 kB / 401.5 MB, free: 31.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.3849, allocations: 8.328 kB / 401.6 MB, free: 31.22 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.3849, allocations: 8.375 kB / 401.6 MB, free: 31.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003503/0.3853, allocations: 214.8 kB / 401.8 MB, free: 31 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3853, allocations: 4.188 kB / 401.8 MB, free: 30.99 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.3853, allocations: 7.938 kB / 401.8 MB, free: 30.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.3853, allocations: 0 / 401.8 MB, free: 30.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.172e-05/0.3854, allocations: 39.92 kB / 401.8 MB, free: 30.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.3856, allocations: 189.5 kB / 402 MB, free: 30.71 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.3858, allocations: 127.8 kB / 402.1 MB, free: 30.58 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.511e-05/0.3859, allocations: 91.52 kB / 402.2 MB, free: 30.49 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.3859, allocations: 0 / 402.2 MB, free: 30.49 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.3859, allocations: 34.56 kB / 402.3 MB, free: 30.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 7.91e-07/0.3859, allocations: 0 / 402.3 MB, free: 30.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002632/0.3862, allocations: 149.5 kB / 402.4 MB, free: 30.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/0.3863, allocations: 63.41 kB / 402.5 MB, free: 30.22 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.3864, allocations: 156.9 kB / 402.6 MB, free: 30.06 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.3864, allocations: 25.7 kB / 402.6 MB, free: 30.03 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.236e-05/0.3864, allocations: 84.47 kB / 402.7 MB, free: 29.94 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.3865, allocations: 11.98 kB / 402.7 MB, free: 29.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.3865, allocations: 45.61 kB / 402.8 MB, free: 29.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.992e-05/0.3866, allocations: 318.8 kB / 403.1 MB, free: 29.56 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.121e-05/0.3866, allocations: 19.98 kB / 403.1 MB, free: 29.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.419e-05/0.3867, allocations: 117.7 kB / 403.2 MB, free: 29.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.3869, allocations: 153.5 kB / 403.4 MB, free: 29.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.3869, allocations: 0 / 403.4 MB, free: 29.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001635/0.387, allocations: 157.2 kB / 403.5 MB, free: 29.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.3871, allocations: 7.938 kB / 403.5 MB, free: 29.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.3871, allocations: 4 kB / 403.5 MB, free: 29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.3871, allocations: 8 kB / 403.5 MB, free: 29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.312e-05/0.3871, allocations: 16.42 kB / 403.6 MB, free: 28.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.3871, allocations: 4 kB / 403.6 MB, free: 28.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6e-05/0.3872, allocations: 15.91 kB / 403.6 MB, free: 28.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.3872, allocations: 8 kB / 403.6 MB, free: 28.95 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 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,$CLKPRE.unitDelay2.u,unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],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.0001433/0.3874, allocations: 145.7 kB / 403.7 MB, free: 28.8 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.3875, allocations: 121.5 kB / 403.9 MB, free: 28.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.685e-05/0.3876, allocations: 13.19 kB / 403.9 MB, free: 28.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.3876, allocations: 4 kB / 403.9 MB, free: 28.66 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.3876, allocations: 0 / 403.9 MB, free: 28.66 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3876, allocations: 4 kB / 403.9 MB, free: 28.65 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.333e-05/0.3877, allocations: 185.6 kB / 404.1 MB, free: 28.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3877, allocations: 0 / 404.1 MB, free: 28.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.493e-05/0.3877, allocations: 7.984 kB / 404.1 MB, free: 28.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3877, allocations: 3.938 kB / 404.1 MB, free: 28.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.3877, allocations: 4 kB / 404.1 MB, free: 28.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3877, allocations: 0 / 404.1 MB, free: 28.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3877, allocations: 4 kB / 404.1 MB, free: 28.4 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003692/0.3881, allocations: 0.7487 MB / 404.8 MB, free: 27.6 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.3882, allocations: 105 kB / 404.9 MB, free: 27.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.3882, allocations: 0 / 404.9 MB, free: 27.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.035e-05/0.3882, allocations: 8 kB / 404.9 MB, free: 27.47 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-06/0.3882, allocations: 0 / 404.9 MB, free: 27.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.3883, allocations: 3.938 kB / 404.9 MB, free: 27.46 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.941e-05/0.3883, allocations: 114.1 kB / 405 MB, free: 27.36 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.092e-06/0.3883, allocations: 0 / 405 MB, free: 27.36 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003294/0.3887, allocations: 23.94 kB / 405.1 MB, free: 27.33 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,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.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.000123/0.3888, allocations: 103.2 kB / 405.2 MB, free: 27.22 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001631/0.389, allocations: 91.78 kB / 405.3 MB, free: 27.13 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.389, allocations: 1 kB / 405.3 MB, free: 27.13 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.389, allocations: 0 / 405.3 MB, free: 27.13 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.3894, allocations: 91.81 kB / 405.4 MB, free: 27.04 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000398/0.3898, allocations: 413.9 kB / 405.8 MB, free: 26.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001637/0.39, allocations: 0.7204 MB / 406.5 MB, free: 25.85 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.502e-05/0.39, allocations: 16.62 kB / 406.5 MB, free: 25.83 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/0.39, allocations: 11.44 kB / 406.5 MB, free: 25.82 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.39, allocations: 0 / 406.5 MB, free: 25.82 MB / 298.7 MB Notification: Performance of Templates: time 0.003179/0.3932, allocations: 1.004 MB / 407.5 MB, free: 24.83 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches