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.001047/0.001047, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001484/0.001484, allocations: 156.5 kB / 24.55 MB, free: 20 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 0.9472/0.9472, allocations: 177 MB / 204.8 MB, free: 5.605 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.673e-06/1.673e-06, allocations: 0 / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/2.046e-05, allocations: 2.312 kB / 272.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001475/0.001495, allocations: 0.9457 MB / 273.9 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003132/0.001809, allocations: 151.5 kB / 274 MB, free: 392 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.611e-05/0.001885, allocations: 3.938 kB / 274 MB, free: 388 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.001985, allocations: 11.86 kB / 274 MB, free: 376 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.002114, allocations: 15.86 kB / 274 MB, free: 360 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.002297, allocations: 47.83 kB / 274.1 MB, free: 312 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.002497, allocations: 67.77 kB / 274.1 MB, free: 244 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.002608, allocations: 27.97 kB / 274.2 MB, free: 216 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.887e-05/0.002657, allocations: 39.89 kB / 274.2 MB, free: 176 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.067e-05/0.002727, allocations: 31.89 kB / 274.2 MB, free: 144 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.00275, allocations: 12 kB / 274.3 MB, free: 132 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.197e-05/0.002762, allocations: 4 kB / 274.3 MB, free: 128 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.885e-05/0.002811, allocations: 35.84 kB / 274.3 MB, free: 92 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.635e-05/0.002847, allocations: 23.91 kB / 274.3 MB, free: 68 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.00297, allocations: 67.77 kB / 274.4 MB, free: 16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.002972, allocations: 4 kB / 274.4 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.002973, allocations: 0 / 274.4 MB, free: 15.99 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.002976, allocations: 0 / 274.4 MB, free: 15.99 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.0003774/0.003354, allocations: 444 kB / 274.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.00339, allocations: 15.97 kB / 274.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.003432, allocations: 28.84 kB / 274.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.00359, allocations: 152.3 kB / 275 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.0036, allocations: 4.375 kB / 275 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.003615, allocations: 8.375 kB / 275 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.003857, allocations: 164.6 kB / 275.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.003868, allocations: 8.172 kB / 275.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.003878, allocations: 8.375 kB / 275.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.003885, allocations: 384 / 275.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.493e-05/0.00392, allocations: 19.88 kB / 275.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001077/0.004028, allocations: 144.5 kB / 275.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.004179, allocations: 99.45 kB / 275.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.722e-05/0.004246, allocations: 55.61 kB / 275.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.004255, allocations: 4 kB / 275.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.00428, allocations: 37.39 kB / 275.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 2.786e-06/0.004282, allocations: 4 kB / 275.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001814/0.004464, allocations: 121.1 kB / 275.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.004507, allocations: 63.39 kB / 275.7 MB, free: 14.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.0048, allocations: 223.1 kB / 276 MB, free: 14.26 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.004815, allocations: 29.7 kB / 276 MB, free: 14.22 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.727e-05/0.004872, allocations: 135.2 kB / 276.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.004888, allocations: 11.94 kB / 276.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.004919, allocations: 31.38 kB / 276.2 MB, free: 14.03 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.005025, allocations: 496.1 kB / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.326e-05/0.005039, allocations: 8 kB / 276.6 MB, free: 13.53 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.803e-05/0.005057, allocations: 19.38 kB / 276.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.785e-05/0.005085, allocations: 27.38 kB / 276.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.005087, allocations: 0 / 276.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.673e-05/0.005144, allocations: 57.58 kB / 276.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.005154, allocations: 4 kB / 276.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.005159, allocations: 0 / 276.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.005173, allocations: 0 / 276.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.482e-05/0.005228, allocations: 12 kB / 276.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.005234, allocations: 3.984 kB / 276.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.353e-05/0.005248, allocations: 8 kB / 276.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.005253, allocations: 4 kB / 276.8 MB, free: 13.37 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.71e-05/0.00532, allocations: 160.5 kB / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.844e-05/0.005408, allocations: 97.59 kB / 277 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.81e-05/0.005446, allocations: 29.05 kB / 277.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.005448, allocations: 0 / 277.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.00545, allocations: 0 / 277.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.005454, allocations: 3.938 kB / 277.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.78e-05/0.005522, allocations: 144.5 kB / 277.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.005523, allocations: 0 / 277.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.385e-05/0.005587, allocations: 31.92 kB / 277.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.00559, allocations: 4 kB / 277.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.005598, allocations: 4 kB / 277.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.005599, allocations: 0 / 277.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.0056, allocations: 96 / 277.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.00572, allocations: 152.2 kB / 277.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.886e-05/0.005759, allocations: 27.89 kB / 277.4 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.005777, allocations: 4 kB / 277.4 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.366e-05/0.005791, allocations: 0 / 277.4 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-06/0.005794, allocations: 0 / 277.4 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.0058, allocations: 4 kB / 277.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.249e-05/0.005853, allocations: 156.8 kB / 277.6 MB, free: 12.49 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005853, allocations: 0 / 277.6 MB, free: 12.49 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001192/0.005972, allocations: 16 kB / 277.6 MB, free: 12.48 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 6.605e-05/0.006038, allocations: 119 kB / 277.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.271e-05/0.006131, allocations: 46.28 kB / 277.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.006132, allocations: 0 / 277.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.006132, allocations: 0 / 277.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.00638, allocations: 67.94 kB / 277.8 MB, free: 12.24 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002676/0.006648, allocations: 226.6 kB / 278 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.142e-05/0.006689, allocations: 75.33 kB / 278.1 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.512e-05/0.006704, allocations: 4.484 kB / 278.1 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.006732, allocations: 20.5 kB / 278.1 MB, free: 11.87 MB / 266.7 MB Notification: Performance of SimCode: time 4.31e-07/0.006733, allocations: 3.938 kB / 278.2 MB, free: 11.87 MB / 266.7 MB Notification: Performance of Templates: time 0.002648/0.009381, allocations: 1.153 MB / 279.3 MB, free: 10.74 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 -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.8308277055621147]