Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001089/0.001089, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001093/0.001093, allocations: 164.2 kB / 24.91 MB, free: 8.754 MB / 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 0.9611/0.9611, allocations: 177 MB / 205.2 MB, free: 5.051 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.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.[0-9,]+.",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 273.4 MB, free: 1.051 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.184e-05, allocations: 6.312 kB / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001688/0.00171, allocations: 0.9739 MB / 274.4 MB, free: 72 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003492/0.002059, allocations: 151.4 kB / 274.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.292e-05/0.002132, allocations: 7.938 kB / 274.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.661e-05/0.002228, allocations: 7.875 kB / 274.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.002341, allocations: 19.86 kB / 274.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/0.002526, allocations: 43.83 kB / 274.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.002633, allocations: 71.75 kB / 274.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.486e-05/0.002728, allocations: 27.97 kB / 274.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.723e-05/0.002775, allocations: 43.89 kB / 274.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.13e-05/0.002846, allocations: 31.89 kB / 274.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.002865, allocations: 4 kB / 274.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.256e-05/0.002878, allocations: 8 kB / 274.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.57e-05/0.002923, allocations: 27.91 kB / 274.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.034e-05/0.002954, allocations: 31.86 kB / 274.9 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.003062, allocations: 67.67 kB / 274.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.003065, allocations: 4 kB / 274.9 MB, free: 15.53 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.003066, allocations: 0 / 274.9 MB, free: 15.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.966e-06/0.003069, allocations: 0 / 274.9 MB, free: 15.53 MB / 266.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.0002918/0.003361, allocations: 312.3 kB / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.003393, allocations: 15.98 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/0.003428, allocations: 16.92 kB / 275.3 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.003585, allocations: 145.6 kB / 275.4 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.003594, allocations: 4.375 kB / 275.4 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.003606, allocations: 16.31 kB / 275.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.003804, allocations: 165.4 kB / 275.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.003811, allocations: 192 / 275.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.003819, allocations: 4.359 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.003825, allocations: 4.375 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.542e-05/0.00385, allocations: 22.77 kB / 275.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.968e-05/0.00392, allocations: 79.69 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.004033, allocations: 80.12 kB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.771e-05/0.00407, allocations: 36.84 kB / 275.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.004077, allocations: 8 kB / 275.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.004095, allocations: 30.56 kB / 275.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 8.92e-07/0.004096, allocations: 4 kB / 275.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.00012/0.004216, allocations: 100.6 kB / 276 MB, free: 14.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.004258, allocations: 63.41 kB / 276 MB, free: 14.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.416e-05/0.004332, allocations: 148 kB / 276.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.004348, allocations: 29.7 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.394e-05/0.004372, allocations: 88.45 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.218e-05/0.004384, allocations: 11.94 kB / 276.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/0.004409, allocations: 17.7 kB / 276.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.572e-05/0.004484, allocations: 326.8 kB / 276.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.362e-06/0.004491, allocations: 8 kB / 276.6 MB, free: 13.67 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.379e-05/0.004504, allocations: 17.7 kB / 276.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.362e-05/0.004528, allocations: 21.64 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.00453, allocations: 0 / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.284e-05/0.004573, allocations: 41.69 kB / 276.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.004585, allocations: 8 kB / 276.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.004588, allocations: 0 / 276.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.004597, allocations: 3.938 kB / 276.7 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.563e-05/0.004633, allocations: 12.06 kB / 276.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.004635, allocations: 0 / 276.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.186e-05/0.004647, allocations: 0 / 276.7 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.004651, allocations: 0 / 276.7 MB, free: 13.55 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 6.301e-05/0.004714, allocations: 120.6 kB / 276.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.619e-05/0.00477, allocations: 77.66 kB / 276.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.092e-05/0.004801, allocations: 17.12 kB / 276.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.004803, allocations: 0 / 276.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.004804, allocations: 0 / 276.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.004809, allocations: 3.984 kB / 277 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.637e-05/0.004865, allocations: 101.6 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.004866, allocations: 0 / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.173e-05/0.004928, allocations: 31.92 kB / 277.1 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.004929, allocations: 0 / 277.1 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.004934, allocations: 0 / 277.1 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.004935, allocations: 0 / 277.1 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.004936, allocations: 0 / 277.1 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.952e-05/0.004976, allocations: 67.89 kB / 277.1 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.152e-05/0.005007, allocations: 23.84 kB / 277.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.005025, allocations: 8 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.187e-05/0.005037, allocations: 4 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-06/0.005039, allocations: 4 kB / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.005044, allocations: 3.984 kB / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.627e-05/0.005071, allocations: 38.25 kB / 277.2 MB, free: 13 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005071, allocations: 0 / 277.2 MB, free: 13 MB / 266.7 MB Notification: Performance of remove unused functions: time 9.576e-05/0.005166, allocations: 8 kB / 277.2 MB, free: 12.99 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,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.551e-05/0.005242, allocations: 88.36 kB / 277.3 MB, free: 12.9 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.532e-05/0.005307, allocations: 40.81 kB / 277.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.005311, allocations: 4.125 kB / 277.4 MB, free: 12.85 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4e-07/0.005311, allocations: 0 / 277.4 MB, free: 12.85 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.005483, allocations: 81.23 kB / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002287/0.005712, allocations: 216.9 kB / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.686e-05/0.005749, allocations: 75.33 kB / 277.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.406e-05/0.005763, allocations: 0.5 kB / 277.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.448e-05/0.005818, allocations: 67.36 kB / 277.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of SimCode: time 4.8e-07/0.005818, allocations: 0 / 277.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of Templates: time 0.002535/0.008353, allocations: 1.225 MB / 279 MB, free: 11.18 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.5723874871619046]