Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0008288/0.0008288, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.0009532/0.0009532, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.014/1.014, allocations: 177 MB / 204.8 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.165e-05/3.371e-05, allocations: 9.266 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.002628/0.002662, allocations: 0.9469 MB / 273.9 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005057/0.003167, allocations: 139.5 kB / 274 MB, free: 380 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.003275, allocations: 3.938 kB / 274 MB, free: 376 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001389/0.003414, allocations: 15.86 kB / 274 MB, free: 360 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.003532, allocations: 11.94 kB / 274 MB, free: 348 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.00386, allocations: 47.81 kB / 274.1 MB, free: 300 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.004023, allocations: 63.83 kB / 274.1 MB, free: 236 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.004196, allocations: 28.2 kB / 274.2 MB, free: 204 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.617e-05/0.004272, allocations: 39.89 kB / 274.2 MB, free: 164 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.166e-05/0.004324, allocations: 19.91 kB / 274.2 MB, free: 144 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.719e-05/0.004361, allocations: 8 kB / 274.2 MB, free: 136 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.637e-05/0.004378, allocations: 4 kB / 274.2 MB, free: 132 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.004485, allocations: 27.91 kB / 274.3 MB, free: 104 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.429e-05/0.004539, allocations: 19.92 kB / 274.3 MB, free: 84 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.004738, allocations: 59.75 kB / 274.3 MB, free: 24 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.004744, allocations: 0 / 274.3 MB, free: 24 kB / 250.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.004747, allocations: 3.938 kB / 274.3 MB, free: 20 kB / 250.7 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.004755, allocations: 4 kB / 274.3 MB, free: 16 kB / 250.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.0005535/0.005309, allocations: 428.1 kB / 274.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.005358, allocations: 11.98 kB / 274.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.241e-05/0.00542, allocations: 24.84 kB / 274.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.00565, allocations: 140.5 kB / 274.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.005664, allocations: 8.375 kB / 274.9 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.005683, allocations: 12.3 kB / 275 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003591/0.006042, allocations: 177.5 kB / 275.1 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.118e-06/0.006051, allocations: 192 / 275.1 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.006064, allocations: 4.375 kB / 275.1 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.006074, allocations: 4.375 kB / 275.1 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.47e-05/0.006129, allocations: 23.92 kB / 275.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001443/0.006273, allocations: 136.6 kB / 275.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.006494, allocations: 107.3 kB / 275.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.262e-05/0.006586, allocations: 58.62 kB / 275.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.006598, allocations: 3.984 kB / 275.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.006625, allocations: 41.33 kB / 275.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.006627, allocations: 0 / 275.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002576/0.006884, allocations: 117.6 kB / 275.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.00694, allocations: 59.41 kB / 275.7 MB, free: 14.54 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.007076, allocations: 205.8 kB / 275.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.007089, allocations: 25.7 kB / 275.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.573e-05/0.007144, allocations: 143.2 kB / 276 MB, free: 14.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.382e-05/0.007158, allocations: 0 / 276 MB, free: 14.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-05/0.007205, allocations: 35.31 kB / 276.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.007342, allocations: 496.1 kB / 276.6 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.413e-05/0.007356, allocations: 4 kB / 276.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.021e-05/0.007386, allocations: 31.23 kB / 276.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.168e-05/0.007428, allocations: 23.38 kB / 276.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.00743, allocations: 0 / 276.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001017/0.007532, allocations: 53.64 kB / 276.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.007552, allocations: 11.98 kB / 276.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.007558, allocations: 0 / 276.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.007575, allocations: 0 / 276.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.871e-05/0.007594, allocations: 0 / 276.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.0076, allocations: 0 / 276.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.053e-05/0.007621, allocations: 7.938 kB / 276.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.007627, allocations: 0 / 276.7 MB, free: 13.45 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($CLKPRE.unitDelay2.u,unitDelay2.u,$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 (4): * Single equations (assignments): 4 * 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.0001077/0.007735, allocations: 160.6 kB / 276.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.007871, allocations: 101.5 kB / 276.9 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.937e-05/0.00792, allocations: 25.17 kB / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.007924, allocations: 0 / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.007928, allocations: 0 / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.463e-06/0.007935, allocations: 7.938 kB / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.256e-05/0.008027, allocations: 132.5 kB / 277.1 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.008029, allocations: 0 / 277.1 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.975e-05/0.008049, allocations: 4 kB / 277.1 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.008053, allocations: 0 / 277.1 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.008065, allocations: 8 kB / 277.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.008067, allocations: 4 kB / 277.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.008069, allocations: 0 / 277.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.008275, allocations: 159.4 kB / 277.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.097e-05/0.008336, allocations: 19.94 kB / 277.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.008364, allocations: 0 / 277.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.602e-05/0.00839, allocations: 4.094 kB / 277.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.695e-06/0.008398, allocations: 3.984 kB / 277.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.008407, allocations: 4 kB / 277.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.198e-05/0.008479, allocations: 146.1 kB / 277.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008479, allocations: 0 / 277.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002172/0.008696, allocations: 16 kB / 277.5 MB, free: 12.59 MB / 266.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.0001433/0.008839, allocations: 111.1 kB / 277.6 MB, free: 12.48 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001398/0.008979, allocations: 51.55 kB / 277.6 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.008981, allocations: 0 / 277.6 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.12e-07/0.008982, allocations: 3.938 kB / 277.6 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.009407, allocations: 63.81 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004108/0.009818, allocations: 218.1 kB / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.243e-05/0.00988, allocations: 71.89 kB / 278 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.365e-05/0.009904, allocations: 4.5 kB / 278 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.914e-05/0.009943, allocations: 16.62 kB / 278 MB, free: 12 MB / 266.7 MB Notification: Performance of SimCode: time 1.202e-06/0.009944, allocations: 0 / 278 MB, free: 12 MB / 266.7 MB Notification: Performance of Templates: time 0.003994/0.01394, allocations: 1.039 MB / 279 MB, free: 10.98 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7859803019091487]