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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 110.4 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.001159/0.00116, allocations: 191 kB / 17.99 MB, free: 5.109 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.532/1.532, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 55.91 kB / 351.3 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3804, allocations: 49.42 MB / 400.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002444/0.3829, allocations: 0.9285 MB / 401.6 MB, free: 7.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004085/0.3834, allocations: 131.5 kB / 401.8 MB, free: 7.812 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.566e-05/0.3835, allocations: 4 kB / 401.8 MB, free: 7.809 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.3836, allocations: 7.875 kB / 401.8 MB, free: 7.801 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.3837, allocations: 7.922 kB / 401.8 MB, free: 7.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.384, allocations: 43.89 kB / 401.8 MB, free: 7.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.3841, allocations: 71.77 kB / 401.9 MB, free: 7.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.3843, allocations: 48.19 kB / 402 MB, free: 7.633 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.853e-05/0.3843, allocations: 19.92 kB / 402 MB, free: 7.613 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.059e-05/0.3844, allocations: 31.8 kB / 402 MB, free: 7.582 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.3844, allocations: 4 kB / 402 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.198e-05/0.3845, allocations: 8 kB / 402 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.3846, allocations: 27.91 kB / 402 MB, free: 7.543 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.006e-05/0.3847, allocations: 35.75 kB / 402.1 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.3848, allocations: 83.64 kB / 402.2 MB, free: 7.426 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.3849, allocations: 4 kB / 402.2 MB, free: 7.422 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.3849, allocations: 0 / 402.2 MB, free: 7.422 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.3849, allocations: 0 / 402.2 MB, free: 7.422 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.0006339/0.3855, allocations: 388.3 kB / 402.5 MB, free: 6.996 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.3856, allocations: 12.03 kB / 402.6 MB, free: 6.984 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.207e-05/0.3856, allocations: 12.75 kB / 402.6 MB, free: 6.973 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.386, allocations: 212 kB / 402.8 MB, free: 6.727 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.386, allocations: 8.375 kB / 402.8 MB, free: 6.719 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.386, allocations: 8.375 kB / 402.8 MB, free: 6.711 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004541/0.3865, allocations: 207.7 kB / 403 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3865, allocations: 192 / 403 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.3865, allocations: 15.92 kB / 403 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3865, allocations: 0 / 403 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.09e-05/0.3866, allocations: 35.98 kB / 403 MB, free: 6.445 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002499/0.3869, allocations: 181.6 kB / 403.2 MB, free: 6.219 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.3872, allocations: 123 kB / 403.3 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.3874, allocations: 92.7 kB / 403.4 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.3874, allocations: 0 / 403.4 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.3874, allocations: 34.56 kB / 403.5 MB, free: 5.953 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 9.82e-07/0.3874, allocations: 0 / 403.5 MB, free: 5.953 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003326/0.3878, allocations: 164.7 kB / 403.6 MB, free: 5.789 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.715e-05/0.3879, allocations: 67.34 kB / 403.7 MB, free: 5.711 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.388, allocations: 140.2 kB / 403.8 MB, free: 5.566 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.388, allocations: 29.7 kB / 403.9 MB, free: 5.531 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.572e-05/0.3881, allocations: 88.47 kB / 403.9 MB, free: 5.438 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.3881, allocations: 15.89 kB / 404 MB, free: 5.422 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-05/0.3882, allocations: 41.7 kB / 404 MB, free: 5.375 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3884, allocations: 318.8 kB / 404.3 MB, free: 5.055 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.668e-05/0.3884, allocations: 16 kB / 404.3 MB, free: 5.039 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.3885, allocations: 125.6 kB / 404.4 MB, free: 4.867 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.3887, allocations: 153.5 kB / 404.6 MB, free: 4.668 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3887, allocations: 0 / 404.6 MB, free: 4.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002038/0.3889, allocations: 157.2 kB / 404.8 MB, free: 4.508 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.389, allocations: 11.94 kB / 404.8 MB, free: 4.496 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.389, allocations: 0 / 404.8 MB, free: 4.496 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.389, allocations: 8 kB / 404.8 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.455e-05/0.3891, allocations: 11.92 kB / 404.8 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.3891, allocations: 7.984 kB / 404.8 MB, free: 4.469 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.144e-05/0.3892, allocations: 12.5 kB / 404.8 MB, free: 4.457 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.3892, allocations: 12 kB / 404.8 MB, free: 4.445 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 (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.0001583/0.3893, allocations: 150.2 kB / 405 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/0.3895, allocations: 117.4 kB / 405.1 MB, free: 4.168 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.521e-05/0.3896, allocations: 17.17 kB / 405.1 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3896, allocations: 4 kB / 405.1 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3896, allocations: 0 / 405.1 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3896, allocations: 0 / 405.1 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.3898, allocations: 189.6 kB / 405.3 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3898, allocations: 4 kB / 405.3 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.381e-05/0.3898, allocations: 7.938 kB / 405.3 MB, free: 3.898 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.3898, allocations: 3.938 kB / 405.3 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.3898, allocations: 11.97 kB / 405.3 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.3898, allocations: 4 kB / 405.3 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3899, allocations: 3.938 kB / 405.3 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.3901, allocations: 144.9 kB / 405.5 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.992e-05/0.3901, allocations: 97 kB / 405.6 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.3902, allocations: 15.92 kB / 405.6 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.536e-05/0.3902, allocations: 4 kB / 405.6 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-06/0.3902, allocations: 0 / 405.6 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.3902, allocations: 4 kB / 405.6 MB, free: 3.578 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.599e-05/0.3903, allocations: 106.4 kB / 405.7 MB, free: 3.477 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.585e-06/0.3903, allocations: 0 / 405.7 MB, free: 3.477 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000233/0.3906, allocations: 19.94 kB / 405.7 MB, free: 3.457 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,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.0001252/0.3907, allocations: 115.2 kB / 405.8 MB, free: 3.336 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000214/0.3909, allocations: 91.78 kB / 405.9 MB, free: 3.246 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3909, allocations: 0 / 405.9 MB, free: 3.246 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.394e-06/0.3909, allocations: 3.938 kB / 405.9 MB, free: 3.242 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.3914, allocations: 83.89 kB / 406 MB, free: 3.164 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004342/0.3918, allocations: 229.5 kB / 406.2 MB, free: 2.914 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.3922, allocations: 0.7161 MB / 406.9 MB, free: 2.172 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.781e-05/0.3922, allocations: 8.641 kB / 406.9 MB, free: 2.164 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.3923, allocations: 15.44 kB / 406.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3923, allocations: 0 / 406.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of Templates: time 0.004661/0.397, allocations: 1.026 MB / 408 MB, free: 1.137 MB / 318.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches