Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002179/0.002179, allocations: 213.5 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.622/1.622, allocations: 230.6 MB / 257.5 MB, free: 7.992 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 51.92 kB / 378.3 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4027/0.4042, allocations: 53.36 MB / 431.6 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.003224/0.4074, allocations: 0.9393 MB / 432.6 MB, free: 5.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005106/0.4079, allocations: 131.5 kB / 432.7 MB, free: 5.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.4081, allocations: 3.938 kB / 432.7 MB, free: 5.836 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.4082, allocations: 7.938 kB / 432.7 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.4083, allocations: 15.86 kB / 432.7 MB, free: 5.812 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003158/0.4086, allocations: 43.89 kB / 432.8 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.4088, allocations: 63.83 kB / 432.8 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.409, allocations: 28.22 kB / 432.8 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.207e-05/0.4091, allocations: 27.91 kB / 432.9 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.788e-05/0.4091, allocations: 39.78 kB / 432.9 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.4091, allocations: 4 kB / 432.9 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.005e-05/0.4092, allocations: 8 kB / 432.9 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.4093, allocations: 27.92 kB / 433 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.086e-05/0.4094, allocations: 35.73 kB / 433 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.4096, allocations: 85.06 kB / 433.1 MB, free: 5.457 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.4096, allocations: 4 kB / 433.1 MB, free: 5.453 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4097, allocations: 0 / 433.1 MB, free: 5.453 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.4097, allocations: 0 / 433.1 MB, free: 5.453 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.0005998/0.4103, allocations: 313.6 kB / 433.4 MB, free: 5.117 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.4103, allocations: 16.03 kB / 433.4 MB, free: 5.102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.102e-05/0.4104, allocations: 12.88 kB / 433.4 MB, free: 5.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/0.4107, allocations: 146.3 kB / 433.6 MB, free: 4.922 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.4108, allocations: 8.375 kB / 433.6 MB, free: 4.914 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.4108, allocations: 8.375 kB / 433.6 MB, free: 4.906 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000449/0.4112, allocations: 222.5 kB / 433.8 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.4112, allocations: 8.125 kB / 433.8 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.4113, allocations: 7.938 kB / 433.8 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.4113, allocations: 0 / 433.8 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.338e-05/0.4114, allocations: 39.91 kB / 433.8 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002189/0.4116, allocations: 160.6 kB / 434 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.4119, allocations: 122.9 kB / 434.1 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.412, allocations: 76.81 kB / 434.2 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.412, allocations: 0 / 434.2 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.412, allocations: 34.56 kB / 434.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 8.92e-07/0.4121, allocations: 0 / 434.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003322/0.4124, allocations: 156.6 kB / 434.4 MB, free: 4.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.954e-05/0.4125, allocations: 67.34 kB / 434.4 MB, free: 3.941 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.4126, allocations: 148.3 kB / 434.6 MB, free: 3.789 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.4127, allocations: 29.7 kB / 434.6 MB, free: 3.754 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.4128, allocations: 84.47 kB / 434.7 MB, free: 3.664 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.4128, allocations: 11.98 kB / 434.7 MB, free: 3.652 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.768e-05/0.4129, allocations: 41.66 kB / 434.8 MB, free: 3.605 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.413, allocations: 318.8 kB / 435.1 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.355e-05/0.4131, allocations: 23.98 kB / 435.1 MB, free: 3.262 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.4132, allocations: 113.7 kB / 435.2 MB, free: 3.102 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.4134, allocations: 153.5 kB / 435.3 MB, free: 2.902 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4134, allocations: 4 kB / 435.4 MB, free: 2.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002538/0.4136, allocations: 149.3 kB / 435.5 MB, free: 2.746 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.4137, allocations: 11.94 kB / 435.5 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.475e-06/0.4137, allocations: 4.5 kB / 435.5 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.4137, allocations: 12 kB / 435.5 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.927e-05/0.4137, allocations: 11.94 kB / 435.5 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.4137, allocations: 4 kB / 435.5 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.483e-05/0.4138, allocations: 11.94 kB / 435.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.4138, allocations: 12 kB / 435.6 MB, free: 2.68 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.0002272/0.414, allocations: 137.7 kB / 435.7 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/0.4142, allocations: 121.4 kB / 435.8 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.854e-05/0.4143, allocations: 25.11 kB / 435.8 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.4143, allocations: 3.938 kB / 435.8 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.4143, allocations: 4 kB / 435.9 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4143, allocations: 3.984 kB / 435.9 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.4146, allocations: 156.7 kB / 436 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.4146, allocations: 0 / 436 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.419e-05/0.4146, allocations: 8 kB / 436 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.4146, allocations: 3.938 kB / 436 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.4146, allocations: 0 / 436 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.4146, allocations: 0 / 436 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4146, allocations: 0 / 436 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000454/0.4151, allocations: 159.9 kB / 436.2 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.781e-05/0.4152, allocations: 27.83 kB / 436.2 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.4152, allocations: 11.94 kB / 436.2 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.309e-05/0.4152, allocations: 0 / 436.2 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-06/0.4152, allocations: 0 / 436.2 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.4152, allocations: 4 kB / 436.2 MB, free: 1.953 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001543/0.4154, allocations: 110.2 kB / 436.3 MB, free: 1.848 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4154, allocations: 0 / 436.3 MB, free: 1.848 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002971/0.4157, allocations: 24 kB / 436.4 MB, free: 1.824 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.0001471/0.4158, allocations: 107.1 kB / 436.5 MB, free: 1.711 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002336/0.4161, allocations: 92.59 kB / 436.5 MB, free: 1.621 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4161, allocations: 0 / 436.5 MB, free: 1.621 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.31e-07/0.4161, allocations: 4.188 kB / 436.5 MB, free: 1.617 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.4165, allocations: 71.92 kB / 436.6 MB, free: 1.547 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005376/0.417, allocations: 229.3 kB / 436.8 MB, free: 1.297 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/0.4175, allocations: 0.7161 MB / 437.6 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.376e-05/0.4175, allocations: 4.656 kB / 437.6 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.959e-05/0.4176, allocations: 19.42 kB / 437.6 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4176, allocations: 0 / 437.6 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of Templates: time 0.00465/0.4222, allocations: 1.113 MB / 438.7 MB, free: 15.43 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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: 5.123969551175833]