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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 83.89 kB / 21.19 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008895/0.0008895, allocations: 141.1 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9747/0.9747, allocations: 173.3 MB / 201.1 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 179] 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=5010,variableFilter="time|assignClock1.y.[0-9,]+.",fileNamePrefix="Modelica_4.0.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.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 268 MB, free: 6.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.16e-05, allocations: 6.25 kB / 268 MB, free: 6.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized): time 0.001454/0.001476, allocations: 0.9524 MB / 268.9 MB, free: 5.453 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003236/0.001799, allocations: 135.5 kB / 269.1 MB, free: 5.32 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.418e-05/0.001873, allocations: 8 kB / 269.1 MB, free: 5.312 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.515e-05/0.001969, allocations: 11.86 kB / 269.1 MB, free: 5.301 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.837e-05/0.002057, allocations: 7.938 kB / 269.1 MB, free: 5.293 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/0.002237, allocations: 47.81 kB / 269.2 MB, free: 5.246 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.002338, allocations: 59.84 kB / 269.2 MB, free: 5.188 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.002441, allocations: 28.2 kB / 269.2 MB, free: 5.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.617e-05/0.002488, allocations: 35.91 kB / 269.3 MB, free: 5.125 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.369e-05/0.002521, allocations: 27.89 kB / 269.3 MB, free: 5.098 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.002543, allocations: 4 kB / 269.3 MB, free: 5.094 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.214e-05/0.002555, allocations: 8 kB / 269.3 MB, free: 5.086 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.129e-05/0.002617, allocations: 19.92 kB / 269.3 MB, free: 5.066 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.983e-05/0.002657, allocations: 31.84 kB / 269.4 MB, free: 5.035 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.002764, allocations: 55.75 kB / 269.4 MB, free: 4.98 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.002766, allocations: 4 kB / 269.4 MB, free: 4.977 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.002766, allocations: 0 / 269.4 MB, free: 4.977 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.00277, allocations: 0 / 269.4 MB, free: 4.977 MB / 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.0003228/0.003093, allocations: 424.1 kB / 269.8 MB, free: 4.523 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.003126, allocations: 12.03 kB / 269.8 MB, free: 4.512 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.003167, allocations: 16.89 kB / 269.9 MB, free: 4.496 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.003326, allocations: 156.3 kB / 270 MB, free: 4.316 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.003337, allocations: 12.38 kB / 270 MB, free: 4.305 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.003348, allocations: 4.375 kB / 270 MB, free: 4.301 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002453/0.003593, allocations: 176.5 kB / 270.2 MB, free: 4.117 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.003603, allocations: 192 / 270.2 MB, free: 4.117 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.003613, allocations: 4.375 kB / 270.2 MB, free: 4.113 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.003622, allocations: 4.375 kB / 270.2 MB, free: 4.109 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.721e-05/0.003659, allocations: 31.86 kB / 270.2 MB, free: 4.078 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.755e-05/0.003757, allocations: 132.6 kB / 270.4 MB, free: 3.914 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.003906, allocations: 99.41 kB / 270.5 MB, free: 3.805 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.732e-05/0.003973, allocations: 63.17 kB / 270.5 MB, free: 3.742 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.332e-06/0.003979, allocations: 0 / 270.5 MB, free: 3.742 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.003998, allocations: 37.39 kB / 270.6 MB, free: 3.695 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 8.51e-07/0.003999, allocations: 0 / 270.6 MB, free: 3.695 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001804/0.004179, allocations: 121.5 kB / 270.7 MB, free: 3.57 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.004226, allocations: 67.34 kB / 270.8 MB, free: 3.492 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.628e-05/0.004322, allocations: 212.6 kB / 271 MB, free: 3.27 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.004331, allocations: 25.7 kB / 271 MB, free: 3.238 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.663e-05/0.004368, allocations: 135.2 kB / 271.1 MB, free: 3.098 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.082e-05/0.004378, allocations: 0 / 271.1 MB, free: 3.098 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.054e-05/0.004409, allocations: 39.25 kB / 271.2 MB, free: 3.051 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.004518, allocations: 496.1 kB / 271.6 MB, free: 2.555 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.094e-05/0.004529, allocations: 4 kB / 271.6 MB, free: 2.551 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.115e-05/0.00455, allocations: 23.36 kB / 271.7 MB, free: 2.52 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.027e-05/0.004581, allocations: 23.38 kB / 271.7 MB, free: 2.488 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.004582, allocations: 8 kB / 271.7 MB, free: 2.48 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.114e-05/0.004633, allocations: 49.62 kB / 271.7 MB, free: 2.426 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.004645, allocations: 8 kB / 271.8 MB, free: 2.418 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.004649, allocations: 0 / 271.8 MB, free: 2.418 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.004659, allocations: 0 / 271.8 MB, free: 2.418 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.03e-05/0.004669, allocations: 0 / 271.8 MB, free: 2.418 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.004675, allocations: 4 kB / 271.8 MB, free: 2.414 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.152e-05/0.004686, allocations: 3.938 kB / 271.8 MB, free: 2.41 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.004691, allocations: 0 / 271.8 MB, free: 2.41 MB / 250.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 6.687e-05/0.004758, allocations: 168.7 kB / 271.9 MB, free: 2.234 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.572e-05/0.004843, allocations: 109.6 kB / 272 MB, free: 2.121 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.931e-05/0.004873, allocations: 13.12 kB / 272 MB, free: 2.109 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.004875, allocations: 4 kB / 272.1 MB, free: 2.105 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.004878, allocations: 0 / 272.1 MB, free: 2.105 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.004882, allocations: 3.938 kB / 272.1 MB, free: 2.102 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.083e-05/0.004953, allocations: 136.5 kB / 272.2 MB, free: 1.934 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.004955, allocations: 4 kB / 272.2 MB, free: 1.93 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.588e-06/0.004964, allocations: 3.938 kB / 272.2 MB, free: 1.926 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.004966, allocations: 0 / 272.2 MB, free: 1.926 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.004975, allocations: 8 kB / 272.2 MB, free: 1.918 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.004976, allocations: 4 kB / 272.2 MB, free: 1.914 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.004977, allocations: 0 / 272.2 MB, free: 1.914 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.005087, allocations: 151.2 kB / 272.4 MB, free: 1.746 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.196e-05/0.005119, allocations: 19.94 kB / 272.4 MB, free: 1.727 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.005135, allocations: 0 / 272.4 MB, free: 1.727 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.316e-05/0.005148, allocations: 4 kB / 272.4 MB, free: 1.723 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-06/0.005152, allocations: 4 kB / 272.4 MB, free: 1.719 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.005155, allocations: 0 / 272.4 MB, free: 1.719 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.106e-05/0.005216, allocations: 145.8 kB / 272.5 MB, free: 1.578 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005216, allocations: 4 kB / 272.5 MB, free: 1.574 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001211/0.005337, allocations: 12 kB / 272.5 MB, free: 1.562 MB / 250.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 6.711e-05/0.005405, allocations: 119.1 kB / 272.7 MB, free: 1.438 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.992e-05/0.005494, allocations: 43.61 kB / 272.7 MB, free: 1.391 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.005496, allocations: 0 / 272.7 MB, free: 1.391 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.005497, allocations: 0 / 272.7 MB, free: 1.391 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.005737, allocations: 67.75 kB / 272.8 MB, free: 1.324 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002657/0.006003, allocations: 218.2 kB / 273 MB, free: 1.078 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.492e-05/0.006038, allocations: 75.33 kB / 273.1 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.297e-05/0.006051, allocations: 8.562 kB / 273.1 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.347e-05/0.006074, allocations: 12.5 kB / 273.1 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of SimCode: time 4.6e-07/0.006075, allocations: 0 / 273.1 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of Templates: time 0.002449/0.008524, allocations: 1.046 MB / 274.1 MB, free: 15.94 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) [Timeout 240] 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","",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.786518253851682]