Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001627/0.001627, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.001451/0.001451, allocations: 148.9 kB / 24.81 MB, free: 9.27 MB / 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 1.061/1.061, allocations: 173.3 MB / 201.4 MB, free: 9.23 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.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.[0-9,]+.",fileNamePrefix="Modelica_4.0.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.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 4 kB / 268.4 MB, free: 6.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.32e-05/1.565e-05, allocations: 6.312 kB / 268.4 MB, free: 6.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001828/0.001843, allocations: 0.9283 MB / 269.3 MB, free: 5.289 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003727/0.002216, allocations: 147.4 kB / 269.5 MB, free: 5.145 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.582e-05/0.002292, allocations: 7.938 kB / 269.5 MB, free: 5.137 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.59e-05/0.002388, allocations: 11.86 kB / 269.5 MB, free: 5.125 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.002496, allocations: 19.88 kB / 269.5 MB, free: 5.105 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001729/0.002669, allocations: 47.81 kB / 269.6 MB, free: 5.059 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.002775, allocations: 67.77 kB / 269.6 MB, free: 4.992 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.00288, allocations: 27.98 kB / 269.7 MB, free: 4.965 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.51e-05/0.002935, allocations: 35.89 kB / 269.7 MB, free: 4.93 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.771e-05/0.003012, allocations: 31.89 kB / 269.7 MB, free: 4.898 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.003034, allocations: 8 kB / 269.7 MB, free: 4.891 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.19e-05/0.003046, allocations: 4 kB / 269.7 MB, free: 4.887 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.774e-05/0.003094, allocations: 31.91 kB / 269.8 MB, free: 4.855 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.273e-05/0.003126, allocations: 23.92 kB / 269.8 MB, free: 4.832 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.003242, allocations: 79.61 kB / 269.9 MB, free: 4.754 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.003244, allocations: 0 / 269.9 MB, free: 4.754 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.003244, allocations: 0 / 269.9 MB, free: 4.754 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.003247, allocations: 3.938 kB / 269.9 MB, free: 4.75 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.0003575/0.003605, allocations: 440 kB / 270.3 MB, free: 4.281 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0002738/0.003879, allocations: 8.031 kB / 270.3 MB, free: 4.273 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/0.003914, allocations: 20.84 kB / 270.3 MB, free: 4.254 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.004072, allocations: 161.9 kB / 270.5 MB, free: 4.07 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.004082, allocations: 4.375 kB / 270.5 MB, free: 4.066 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.004094, allocations: 12.38 kB / 270.5 MB, free: 4.055 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.004323, allocations: 165.2 kB / 270.7 MB, free: 3.879 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.00433, allocations: 192 / 270.7 MB, free: 3.879 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.004338, allocations: 384 / 270.7 MB, free: 3.879 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.004345, allocations: 4.375 kB / 270.7 MB, free: 3.875 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.868e-05/0.004374, allocations: 15.92 kB / 270.7 MB, free: 3.859 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001028/0.004476, allocations: 113.2 kB / 270.8 MB, free: 3.723 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.004615, allocations: 99.44 kB / 270.9 MB, free: 3.613 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.786e-05/0.004673, allocations: 55.11 kB / 270.9 MB, free: 3.559 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.004681, allocations: 3.984 kB / 270.9 MB, free: 3.555 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.004705, allocations: 37.39 kB / 271 MB, free: 3.508 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 3.366e-06/0.004709, allocations: 0 / 271 MB, free: 3.508 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.000173/0.004882, allocations: 117.8 kB / 271.1 MB, free: 3.387 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.004925, allocations: 59.41 kB / 271.2 MB, free: 3.316 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.005038, allocations: 212.8 kB / 271.4 MB, free: 3.094 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.005051, allocations: 29.7 kB / 271.4 MB, free: 3.059 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.748e-05/0.005098, allocations: 143.2 kB / 271.5 MB, free: 2.91 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.363e-05/0.005112, allocations: 7.922 kB / 271.5 MB, free: 2.902 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.005149, allocations: 35.31 kB / 271.6 MB, free: 2.859 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.005266, allocations: 0.5 MB / 272.1 MB, free: 2.348 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.124e-06/0.005274, allocations: 0 / 272.1 MB, free: 2.348 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.895e-05/0.005293, allocations: 19.38 kB / 272.1 MB, free: 2.32 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.875e-05/0.005321, allocations: 27.36 kB / 272.1 MB, free: 2.285 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.005323, allocations: 0 / 272.1 MB, free: 2.285 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.995e-05/0.005383, allocations: 53.59 kB / 272.2 MB, free: 2.227 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.005393, allocations: 8 kB / 272.2 MB, free: 2.219 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.005397, allocations: 0 / 272.2 MB, free: 2.219 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.005408, allocations: 0 / 272.2 MB, free: 2.219 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.711e-05/0.005445, allocations: 8 kB / 272.2 MB, free: 2.211 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.005449, allocations: 3.984 kB / 272.2 MB, free: 2.207 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.486e-05/0.005464, allocations: 0 / 272.2 MB, free: 2.207 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.005468, allocations: 3.938 kB / 272.2 MB, free: 2.203 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 7.083e-05/0.005539, allocations: 160.6 kB / 272.4 MB, free: 2.035 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.542e-05/0.005624, allocations: 93.58 kB / 272.4 MB, free: 1.938 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.005665, allocations: 25.17 kB / 272.5 MB, free: 1.914 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.005666, allocations: 0 / 272.5 MB, free: 1.914 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.005668, allocations: 0 / 272.5 MB, free: 1.914 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.00567, allocations: 0 / 272.5 MB, free: 1.914 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.637e-05/0.005747, allocations: 129.1 kB / 272.6 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.005748, allocations: 0 / 272.6 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.459e-05/0.005822, allocations: 27.98 kB / 272.6 MB, free: 1.734 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.005824, allocations: 0 / 272.6 MB, free: 1.734 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.00583, allocations: 4 kB / 272.6 MB, free: 1.73 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.005832, allocations: 3.938 kB / 272.6 MB, free: 1.727 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.005833, allocations: 3.938 kB / 272.6 MB, free: 1.723 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.832e-05/0.005881, allocations: 84.31 kB / 272.7 MB, free: 1.617 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.942e-05/0.00592, allocations: 27.83 kB / 272.7 MB, free: 1.59 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.005938, allocations: 4 kB / 272.7 MB, free: 1.586 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.717e-05/0.005955, allocations: 4 kB / 272.8 MB, free: 1.582 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-06/0.005957, allocations: 0 / 272.8 MB, free: 1.582 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.005961, allocations: 0 / 272.8 MB, free: 1.582 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.488e-05/0.006016, allocations: 151.1 kB / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006016, allocations: 0 / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001724/0.006189, allocations: 12 kB / 272.9 MB, free: 1.422 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,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 7.926e-05/0.006268, allocations: 111.2 kB / 273 MB, free: 1.305 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.292e-05/0.006341, allocations: 34.62 kB / 273.1 MB, free: 1.27 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.006342, allocations: 0 / 273.1 MB, free: 1.27 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.006343, allocations: 4 kB / 273.1 MB, free: 1.266 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.006597, allocations: 70.84 kB / 273.1 MB, free: 1.199 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000256/0.006853, allocations: 226.5 kB / 273.3 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.904e-05/0.006892, allocations: 75.33 kB / 273.4 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.528e-05/0.006908, allocations: 4.5 kB / 273.4 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.161e-05/0.006969, allocations: 90.31 kB / 273.5 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of SimCode: time 3.81e-07/0.00697, allocations: 0 / 273.5 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of Templates: time 0.002806/0.009776, allocations: 1.23 MB / 274.7 MB, free: 15.56 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/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.713442862033844]