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.001498/0.001498, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.001548/0.001548, allocations: 147.4 kB / 24.89 MB, free: 8.742 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 0.9191/0.9191, allocations: 173.4 MB / 201.5 MB, free: 8.738 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 1.443e-06/1.443e-06, allocations: 0 / 268.5 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.786e-05/1.931e-05, allocations: 6.109 kB / 268.5 MB, free: 6.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001494/0.001513, allocations: 0.9364 MB / 269.4 MB, free: 5.105 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003022/0.001816, allocations: 143.4 kB / 269.5 MB, free: 4.965 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.026e-05/0.001886, allocations: 7.938 kB / 269.6 MB, free: 4.957 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.65e-05/0.001982, allocations: 15.8 kB / 269.6 MB, free: 4.941 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.00209, allocations: 15.92 kB / 269.6 MB, free: 4.926 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001637/0.002254, allocations: 47.77 kB / 269.6 MB, free: 4.879 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.002358, allocations: 67.81 kB / 269.7 MB, free: 4.812 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.134e-05/0.002449, allocations: 27.98 kB / 269.7 MB, free: 4.785 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.824e-05/0.002498, allocations: 39.89 kB / 269.8 MB, free: 4.746 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.073e-05/0.002568, allocations: 27.91 kB / 269.8 MB, free: 4.719 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.00259, allocations: 4 kB / 269.8 MB, free: 4.715 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.356e-05/0.002604, allocations: 8 kB / 269.8 MB, free: 4.707 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.627e-05/0.00265, allocations: 39.83 kB / 269.8 MB, free: 4.668 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.886e-05/0.002679, allocations: 19.94 kB / 269.9 MB, free: 4.648 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.002787, allocations: 79.59 kB / 269.9 MB, free: 4.57 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.694e-06/0.002788, allocations: 0 / 269.9 MB, free: 4.57 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.002789, allocations: 0 / 269.9 MB, free: 4.57 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.805e-06/0.002792, allocations: 0 / 269.9 MB, free: 4.57 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.0002926/0.003085, allocations: 308.4 kB / 270.2 MB, free: 4.242 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.775e-05/0.003112, allocations: 12.03 kB / 270.2 MB, free: 4.23 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.934e-05/0.003142, allocations: 16.92 kB / 270.3 MB, free: 4.215 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.00329, allocations: 157.4 kB / 270.4 MB, free: 4.035 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-06/0.003297, allocations: 384 / 270.4 MB, free: 4.035 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.00331, allocations: 12.38 kB / 270.4 MB, free: 4.023 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.003491, allocations: 173.6 kB / 270.6 MB, free: 3.844 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.003497, allocations: 192 / 270.6 MB, free: 3.844 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-06/0.003504, allocations: 4.375 kB / 270.6 MB, free: 3.84 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.003509, allocations: 384 / 270.6 MB, free: 3.84 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.494e-05/0.003534, allocations: 22.7 kB / 270.6 MB, free: 3.816 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.138e-05/0.003595, allocations: 75.78 kB / 270.7 MB, free: 3.727 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.003709, allocations: 80.12 kB / 270.8 MB, free: 3.637 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.919e-05/0.003748, allocations: 40.84 kB / 270.8 MB, free: 3.594 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.563e-06/0.003755, allocations: 0 / 270.8 MB, free: 3.594 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.003773, allocations: 38.56 kB / 270.9 MB, free: 3.547 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 6.91e-07/0.003774, allocations: 0 / 270.9 MB, free: 3.547 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001177/0.003891, allocations: 101.2 kB / 271 MB, free: 3.445 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.003934, allocations: 63.36 kB / 271 MB, free: 3.371 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.005e-05/0.004014, allocations: 153.7 kB / 271.2 MB, free: 3.211 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/0.004023, allocations: 29.7 kB / 271.2 MB, free: 3.176 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.546e-05/0.004048, allocations: 88.45 kB / 271.3 MB, free: 3.082 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.017e-05/0.004058, allocations: 7.938 kB / 271.3 MB, free: 3.074 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.4e-05/0.004082, allocations: 21.72 kB / 271.3 MB, free: 3.047 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002894/0.004372, allocations: 322.8 kB / 271.6 MB, free: 2.723 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.775e-06/0.00438, allocations: 4 kB / 271.6 MB, free: 2.719 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.506e-05/0.004395, allocations: 21.7 kB / 271.7 MB, free: 2.691 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.337e-05/0.004418, allocations: 21.64 kB / 271.7 MB, free: 2.664 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.00442, allocations: 0 / 271.7 MB, free: 2.664 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.978e-05/0.004469, allocations: 53.56 kB / 271.7 MB, free: 2.605 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/0.004479, allocations: 4 kB / 271.7 MB, free: 2.602 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.004482, allocations: 0 / 271.7 MB, free: 2.602 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.228e-06/0.004492, allocations: 0 / 271.7 MB, free: 2.602 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.764e-05/0.004529, allocations: 12 kB / 271.7 MB, free: 2.59 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.004531, allocations: 4.062 kB / 271.7 MB, free: 2.586 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.116e-05/0.004543, allocations: 0 / 271.7 MB, free: 2.586 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-06/0.004546, allocations: 0 / 271.7 MB, free: 2.586 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 5.596e-05/0.004602, allocations: 120.6 kB / 271.9 MB, free: 2.457 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.944e-05/0.004662, allocations: 77.66 kB / 271.9 MB, free: 2.375 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.048e-05/0.004692, allocations: 21.16 kB / 272 MB, free: 2.355 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.004694, allocations: 3.984 kB / 272 MB, free: 2.352 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.004695, allocations: 0 / 272 MB, free: 2.352 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.004698, allocations: 0 / 272 MB, free: 2.352 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.594e-05/0.004754, allocations: 97.69 kB / 272.1 MB, free: 2.238 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.004755, allocations: 4 kB / 272.1 MB, free: 2.234 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.592e-05/0.004811, allocations: 23.98 kB / 272.1 MB, free: 2.211 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.004813, allocations: 4 kB / 272.1 MB, free: 2.207 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-06/0.004817, allocations: 0 / 272.1 MB, free: 2.207 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.004818, allocations: 0 / 272.1 MB, free: 2.207 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.41e-07/0.004819, allocations: 0 / 272.1 MB, free: 2.207 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.628e-05/0.004855, allocations: 67.84 kB / 272.2 MB, free: 2.121 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/0.004893, allocations: 23.89 kB / 272.2 MB, free: 2.098 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.004909, allocations: 4 kB / 272.2 MB, free: 2.094 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.206e-05/0.004921, allocations: 4 kB / 272.2 MB, free: 2.09 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-06/0.004923, allocations: 0 / 272.2 MB, free: 2.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.004927, allocations: 8 kB / 272.2 MB, free: 2.082 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.442e-05/0.004952, allocations: 32.81 kB / 272.2 MB, free: 2.047 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004952, allocations: 3.938 kB / 272.2 MB, free: 2.043 MB / 250.7 MB Notification: Performance of remove unused functions: time 9.806e-05/0.00505, allocations: 16 kB / 272.2 MB, free: 2.027 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.257e-05/0.005123, allocations: 80.42 kB / 272.3 MB, free: 1.941 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.643e-05/0.005189, allocations: 44.72 kB / 272.4 MB, free: 1.895 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.005191, allocations: 0 / 272.4 MB, free: 1.895 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.005192, allocations: 4.125 kB / 272.4 MB, free: 1.891 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.005356, allocations: 66.59 kB / 272.4 MB, free: 1.824 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002213/0.005578, allocations: 220.9 kB / 272.7 MB, free: 1.578 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.242e-05/0.00561, allocations: 75.33 kB / 272.7 MB, free: 1.484 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.241e-05/0.005623, allocations: 0.5 kB / 272.7 MB, free: 1.484 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.443e-05/0.005677, allocations: 67.36 kB / 272.8 MB, free: 1.418 MB / 250.7 MB Notification: Performance of SimCode: time 3.51e-07/0.005677, allocations: 0 / 272.8 MB, free: 1.418 MB / 250.7 MB Notification: Performance of Templates: time 0.00245/0.008127, allocations: 1.246 MB / 274 MB, free: 212 kB / 250.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.511813655961305]