Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.01/1.01, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 273 MB, free: 1.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.227e-05/3.42e-05, allocations: 2.312 kB / 273 MB, free: 1.559 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.003115/0.003149, allocations: 0.9351 MB / 273.9 MB, free: 0.625 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000565/0.003714, allocations: 147.5 kB / 274.1 MB, free: 492 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.003867, allocations: 3.938 kB / 274.1 MB, free: 488 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.004024, allocations: 19.86 kB / 274.1 MB, free: 468 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001922/0.004217, allocations: 11.92 kB / 274.1 MB, free: 456 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.004527, allocations: 43.83 kB / 274.1 MB, free: 412 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.004718, allocations: 71.77 kB / 274.2 MB, free: 340 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.00489, allocations: 23.97 kB / 274.2 MB, free: 316 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.29e-05/0.004963, allocations: 43.84 kB / 274.3 MB, free: 272 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.005096, allocations: 39.88 kB / 274.3 MB, free: 232 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.005136, allocations: 4 kB / 274.3 MB, free: 228 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.01e-05/0.005156, allocations: 8 kB / 274.3 MB, free: 220 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.052e-05/0.005236, allocations: 23.92 kB / 274.3 MB, free: 196 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.496e-05/0.005301, allocations: 27.91 kB / 274.4 MB, free: 168 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.0055, allocations: 59.75 kB / 274.4 MB, free: 108 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.005504, allocations: 0 / 274.4 MB, free: 108 kB / 250.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.005506, allocations: 0 / 274.4 MB, free: 108 kB / 250.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.005514, allocations: 4 kB / 274.4 MB, free: 104 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.0006834/0.006197, allocations: 444.2 kB / 274.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.941e-05/0.006257, allocations: 15.95 kB / 274.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.319e-05/0.00633, allocations: 24.84 kB / 274.9 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.006619, allocations: 157.2 kB / 275.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.006637, allocations: 8.359 kB / 275.1 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.006661, allocations: 8.375 kB / 275.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004177/0.007079, allocations: 180.2 kB / 275.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.00709, allocations: 192 / 275.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.007104, allocations: 4.375 kB / 275.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.007114, allocations: 384 / 275.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.608e-05/0.00716, allocations: 19.94 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/0.007307, allocations: 144.5 kB / 275.4 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.007501, allocations: 98.97 kB / 275.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.82e-05/0.007579, allocations: 55.67 kB / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.667e-06/0.007587, allocations: 0 / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.007616, allocations: 41.33 kB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 9.92e-07/0.007617, allocations: 4 kB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002459/0.007863, allocations: 121.8 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.007926, allocations: 63.41 kB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.008071, allocations: 220.2 kB / 276 MB, free: 14.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.008085, allocations: 25.7 kB / 276 MB, free: 14.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.418e-05/0.008149, allocations: 139.2 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.008168, allocations: 7.938 kB / 276.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.008207, allocations: 27.38 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.00836, allocations: 0.4961 MB / 276.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.53e-05/0.008376, allocations: 0 / 276.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.727e-05/0.008403, allocations: 31.31 kB / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.358e-05/0.008447, allocations: 27.36 kB / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.008449, allocations: 0 / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.399e-05/0.008533, allocations: 53.59 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.008554, allocations: 4 kB / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.008564, allocations: 4 kB / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.008584, allocations: 4 kB / 276.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.058e-05/0.008664, allocations: 7.984 kB / 276.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.008672, allocations: 4.062 kB / 276.8 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.923e-05/0.008692, allocations: 7.938 kB / 276.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.008701, allocations: 7.984 kB / 276.8 MB, free: 13.46 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.0001021/0.008803, allocations: 160.7 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.008924, allocations: 101.5 kB / 277.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.806e-05/0.008982, allocations: 21.11 kB / 277.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.008984, allocations: 0 / 277.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.008992, allocations: 4 kB / 277.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.008998, allocations: 3.938 kB / 277.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.091e-05/0.009089, allocations: 140.5 kB / 277.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.00909, allocations: 4 kB / 277.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.668e-05/0.009177, allocations: 27.98 kB / 277.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.00918, allocations: 0 / 277.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.00919, allocations: 4 kB / 277.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.009192, allocations: 0 / 277.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.009193, allocations: 0 / 277.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.009346, allocations: 155.5 kB / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.81e-05/0.009394, allocations: 27.89 kB / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.009419, allocations: 7.938 kB / 277.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.085e-05/0.00944, allocations: 4 kB / 277.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-06/0.009443, allocations: 0 / 277.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.009448, allocations: 4 kB / 277.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.03e-05/0.009519, allocations: 158.2 kB / 277.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009519, allocations: 0 / 277.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001298/0.009649, allocations: 12 kB / 277.7 MB, free: 12.57 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 0.0001101/0.009759, allocations: 111.8 kB / 277.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001181/0.009877, allocations: 43.55 kB / 277.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.009879, allocations: 0 / 277.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.11e-07/0.00988, allocations: 8.125 kB / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.01018, allocations: 67.81 kB / 277.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003298/0.01051, allocations: 222.6 kB / 278.1 MB, free: 12.08 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.045e-05/0.01056, allocations: 75.33 kB / 278.2 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.915e-05/0.01058, allocations: 8.484 kB / 278.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.01061, allocations: 12.5 kB / 278.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01061, allocations: 0 / 278.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of Templates: time 0.003434/0.01405, allocations: 1.167 MB / 279.4 MB, free: 10.83 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.946295634843409]