Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001376/0.001376, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001659/0.001659, allocations: 212 kB / 23.74 MB, free: 4.656 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.646/1.646, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.IntegerSignals.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.IntegerSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 43.92 kB / 378.2 MB, free: 2.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3978, allocations: 53.37 MB / 431.6 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002593/0.4004, allocations: 0.9172 MB / 432.5 MB, free: 6.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004686/0.4009, allocations: 143.5 kB / 432.7 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.401, allocations: 7.938 kB / 432.7 MB, free: 5.895 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.4011, allocations: 15.86 kB / 432.7 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.4013, allocations: 15.86 kB / 432.7 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.4015, allocations: 47.89 kB / 432.8 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.4017, allocations: 67.77 kB / 432.8 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.4019, allocations: 31.97 kB / 432.9 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.169e-05/0.4019, allocations: 27.86 kB / 432.9 MB, free: 5.691 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.402, allocations: 35.84 kB / 432.9 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.4021, allocations: 12 kB / 432.9 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.622e-05/0.4021, allocations: 4 kB / 432.9 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.981e-05/0.4021, allocations: 39.83 kB / 433 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.04e-05/0.4022, allocations: 35.75 kB / 433 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.4024, allocations: 104.7 kB / 433.1 MB, free: 5.469 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4024, allocations: 0 / 433.1 MB, free: 5.469 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4024, allocations: 0 / 433.1 MB, free: 5.469 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.4024, allocations: 0 / 433.1 MB, free: 5.469 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.0006194/0.403, allocations: 337.7 kB / 433.4 MB, free: 5.105 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.4031, allocations: 12.03 kB / 433.5 MB, free: 5.094 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/0.4031, allocations: 20.84 kB / 433.5 MB, free: 5.074 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.4034, allocations: 150.3 kB / 433.6 MB, free: 4.902 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.4034, allocations: 8.375 kB / 433.6 MB, free: 4.895 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.4034, allocations: 12.31 kB / 433.6 MB, free: 4.883 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004452/0.4039, allocations: 250.5 kB / 433.9 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.4039, allocations: 192 / 433.9 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.4039, allocations: 3.938 kB / 433.9 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.4039, allocations: 4 kB / 433.9 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.951e-05/0.404, allocations: 47.97 kB / 433.9 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002036/0.4042, allocations: 164.6 kB / 434.1 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.4044, allocations: 146.9 kB / 434.3 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.4046, allocations: 76.77 kB / 434.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.4046, allocations: 0 / 434.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.4046, allocations: 42.48 kB / 434.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 8.92e-07/0.4046, allocations: 0 / 434.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003625/0.405, allocations: 177.7 kB / 434.5 MB, free: 3.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/0.405, allocations: 63.41 kB / 434.6 MB, free: 3.836 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.4052, allocations: 163.5 kB / 434.8 MB, free: 3.672 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.4052, allocations: 29.7 kB / 434.8 MB, free: 3.637 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.795e-05/0.4053, allocations: 96.45 kB / 434.9 MB, free: 3.535 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.4053, allocations: 7.953 kB / 434.9 MB, free: 3.527 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.673e-05/0.4054, allocations: 45.64 kB / 434.9 MB, free: 3.477 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.4055, allocations: 322.8 kB / 435.3 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.114e-05/0.4056, allocations: 19.98 kB / 435.3 MB, free: 3.133 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.4057, allocations: 121.7 kB / 435.4 MB, free: 2.965 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.4059, allocations: 153.5 kB / 435.5 MB, free: 2.766 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.4059, allocations: 0 / 435.5 MB, free: 2.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002479/0.4061, allocations: 157.3 kB / 435.7 MB, free: 2.605 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.4062, allocations: 8 kB / 435.7 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.4062, allocations: 7.938 kB / 435.7 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.591e-05/0.4062, allocations: 4.5 kB / 435.7 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.4063, allocations: 35.92 kB / 435.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.093e-05/0.4064, allocations: 11.98 kB / 435.8 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.277e-05/0.4064, allocations: 11.95 kB / 435.8 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.4064, allocations: 8 kB / 435.8 MB, free: 2.52 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 (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.0001644/0.4066, allocations: 146.5 kB / 435.9 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002019/0.4068, allocations: 140.5 kB / 436.1 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.708e-05/0.4069, allocations: 21.06 kB / 436.1 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4069, allocations: 7.938 kB / 436.1 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4069, allocations: 3.938 kB / 436.1 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4069, allocations: 0 / 436.1 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.4071, allocations: 164.7 kB / 436.3 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4071, allocations: 0 / 436.3 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.4072, allocations: 31.97 kB / 436.3 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.4072, allocations: 0 / 436.3 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.4072, allocations: 3.938 kB / 436.3 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.4072, allocations: 4 kB / 436.3 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.758e-06/0.4072, allocations: 4 kB / 436.3 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.4075, allocations: 164.9 kB / 436.5 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.728e-05/0.4075, allocations: 31.83 kB / 436.5 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.4076, allocations: 7.938 kB / 436.5 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.516e-05/0.4076, allocations: 4 kB / 436.5 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.542e-06/0.4076, allocations: 3.984 kB / 436.5 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.4076, allocations: 8 kB / 436.5 MB, free: 1.715 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001001/0.4077, allocations: 111.2 kB / 436.6 MB, free: 1.605 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4077, allocations: 0 / 436.6 MB, free: 1.605 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.408, allocations: 20 kB / 436.6 MB, free: 1.586 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,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.0001503/0.4081, allocations: 115.2 kB / 436.8 MB, free: 1.465 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002389/0.4083, allocations: 104.5 kB / 436.9 MB, free: 1.363 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4083, allocations: 0 / 436.9 MB, free: 1.363 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.4083, allocations: 4.188 kB / 436.9 MB, free: 1.359 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.4088, allocations: 86.86 kB / 436.9 MB, free: 1.277 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004968/0.4093, allocations: 261.4 kB / 437.2 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004918/0.4098, allocations: 0.7161 MB / 437.9 MB, free: 260 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.96e-05/0.4098, allocations: 13.09 kB / 437.9 MB, free: 244 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.014e-05/0.4099, allocations: 11.44 kB / 437.9 MB, free: 232 kB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4099, allocations: 0 / 437.9 MB, free: 232 kB / 334.1 MB Notification: Performance of Templates: time 0.004646/0.4145, allocations: 1.242 MB / 439.2 MB, free: 15 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClockVectorized/AssignClockVectorized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.015571163967252]