Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001958/0.001958, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002376/0.002376, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.568/1.568, allocations: 230.5 MB / 258.2 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002912/0.002912, allocations: 68.77 kB / 379 MB, free: 2.758 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3483, allocations: 53.36 MB / 432.4 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002717/0.351, allocations: 0.9364 MB / 433.3 MB, free: 6.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004061/0.3514, allocations: 131.5 kB / 433.5 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.97e-05/0.3515, allocations: 4 kB / 433.5 MB, free: 5.926 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.3516, allocations: 11.86 kB / 433.5 MB, free: 5.914 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.706e-05/0.3517, allocations: 3.938 kB / 433.5 MB, free: 5.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.3519, allocations: 51.88 kB / 433.5 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.3521, allocations: 63.78 kB / 433.6 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.3522, allocations: 36.2 kB / 433.6 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.176e-05/0.3523, allocations: 19.92 kB / 433.7 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.086e-05/0.3523, allocations: 35.78 kB / 433.7 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.3523, allocations: 4 kB / 433.7 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.824e-05/0.3523, allocations: 8 kB / 433.7 MB, free: 5.691 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.342e-05/0.3524, allocations: 31.91 kB / 433.7 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.034e-05/0.3525, allocations: 35.75 kB / 433.8 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.3527, allocations: 81.55 kB / 433.8 MB, free: 5.551 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.3527, allocations: 4 kB / 433.8 MB, free: 5.547 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3527, allocations: 0 / 433.8 MB, free: 5.547 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.3527, allocations: 4 kB / 433.9 MB, free: 5.543 MB / 334.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.0004638/0.3531, allocations: 321.5 kB / 434.2 MB, free: 5.199 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3532, allocations: 12.03 kB / 434.2 MB, free: 5.188 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.3532, allocations: 8.891 kB / 434.2 MB, free: 5.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.3535, allocations: 149 kB / 434.3 MB, free: 5.012 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.3535, allocations: 8.375 kB / 434.3 MB, free: 5.004 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.3535, allocations: 4.375 kB / 434.3 MB, free: 5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004401/0.354, allocations: 233.9 kB / 434.6 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.354, allocations: 192 / 434.6 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.354, allocations: 7.922 kB / 434.6 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.354, allocations: 3.938 kB / 434.6 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.684e-05/0.3541, allocations: 35.98 kB / 434.6 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/0.3542, allocations: 164.6 kB / 434.8 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.3545, allocations: 118.6 kB / 434.9 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.3546, allocations: 73.2 kB / 435 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.3546, allocations: 3.938 kB / 435 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.3546, allocations: 38.55 kB / 435 MB, free: 4.262 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.092e-06/0.3546, allocations: 0 / 435 MB, free: 4.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.000317/0.355, allocations: 161.4 kB / 435.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.267e-05/0.355, allocations: 61.94 kB / 435.2 MB, free: 4.027 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.3552, allocations: 141.8 kB / 435.4 MB, free: 3.879 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.3552, allocations: 29.7 kB / 435.4 MB, free: 3.844 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.197e-05/0.3552, allocations: 88.45 kB / 435.5 MB, free: 3.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.3553, allocations: 8 kB / 435.5 MB, free: 3.742 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.27e-05/0.3553, allocations: 45.66 kB / 435.5 MB, free: 3.691 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3555, allocations: 322.8 kB / 435.9 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.008e-05/0.3555, allocations: 19.98 kB / 435.9 MB, free: 3.348 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.3556, allocations: 120.8 kB / 436 MB, free: 3.184 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.3558, allocations: 149.5 kB / 436.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.3558, allocations: 4 kB / 436.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002338/0.3561, allocations: 157.6 kB / 436.3 MB, free: 2.824 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.3561, allocations: 7.938 kB / 436.3 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.3561, allocations: 4 kB / 436.3 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.3561, allocations: 4 kB / 436.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.409e-05/0.3561, allocations: 15.98 kB / 436.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.3562, allocations: 7.938 kB / 436.3 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.9e-05/0.3562, allocations: 7.953 kB / 436.3 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.3562, allocations: 8 kB / 436.3 MB, free: 2.77 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 (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.0001494/0.3564, allocations: 149.8 kB / 436.5 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/0.3566, allocations: 117.5 kB / 436.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.833e-05/0.3566, allocations: 17.12 kB / 436.6 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3566, allocations: 4 kB / 436.6 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3566, allocations: 0 / 436.6 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.3566, allocations: 7.922 kB / 436.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.3568, allocations: 152.7 kB / 436.8 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3568, allocations: 0 / 436.8 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.814e-05/0.3568, allocations: 11.92 kB / 436.8 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.3568, allocations: 3.938 kB / 436.8 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.3568, allocations: 8 kB / 436.8 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3568, allocations: 0 / 436.8 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3569, allocations: 4 kB / 436.8 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.3571, allocations: 145 kB / 437 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.696e-05/0.3571, allocations: 23.89 kB / 437 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.3572, allocations: 7.938 kB / 437 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.523e-05/0.3572, allocations: 4 kB / 437 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.926e-06/0.3572, allocations: 0 / 437 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.3572, allocations: 8 kB / 437 MB, free: 2.043 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.363e-05/0.3573, allocations: 107.2 kB / 437.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3573, allocations: 0 / 437.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.3575, allocations: 16 kB / 437.1 MB, free: 1.922 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,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.0001498/0.3577, allocations: 123 kB / 437.2 MB, free: 1.793 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002185/0.3579, allocations: 91.09 kB / 437.3 MB, free: 1.707 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3579, allocations: 0 / 437.3 MB, free: 1.707 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.3579, allocations: 0 / 437.3 MB, free: 1.707 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.3583, allocations: 75.92 kB / 437.4 MB, free: 1.633 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004627/0.3588, allocations: 229.4 kB / 437.6 MB, free: 1.379 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004104/0.3592, allocations: 0.7166 MB / 438.3 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.672e-05/0.3592, allocations: 8.656 kB / 438.3 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.048e-05/0.3592, allocations: 15.44 kB / 438.4 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3592, allocations: 0 / 438.4 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of Templates: time 0.004377/0.3636, allocations: 1.11 MB / 439.5 MB, free: 15.54 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.871799693442881]