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.001099/0.001099, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001153/0.002252, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007041/0.0007041, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009439/0.001648, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9621/0.9621, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.091/1.053, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.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.383e-06/1.383e-06, allocations: 0 / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.565e-05/1.703e-05, allocations: 2.312 kB / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001825/0.001842, allocations: 0.9778 MB / 246.2 MB, free: 12.6 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002415/0.002084, allocations: 155.4 kB / 246.3 MB, free: 12.45 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.789e-05/0.002151, allocations: 11.94 kB / 246.3 MB, free: 12.44 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.628e-05/0.002208, allocations: 11.86 kB / 246.4 MB, free: 12.43 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.749e-05/0.002275, allocations: 23.8 kB / 246.4 MB, free: 12.4 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001546/0.00243, allocations: 39.89 kB / 246.4 MB, free: 12.36 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.002551, allocations: 63.78 kB / 246.5 MB, free: 12.3 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.783e-05/0.002649, allocations: 35.95 kB / 246.5 MB, free: 12.27 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.911e-05/0.002718, allocations: 43.89 kB / 246.6 MB, free: 12.22 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.78e-05/0.002796, allocations: 31.89 kB / 246.6 MB, free: 12.19 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.00282, allocations: 4 kB / 246.6 MB, free: 12.19 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.475e-05/0.002834, allocations: 8 kB / 246.6 MB, free: 12.18 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.855e-05/0.002883, allocations: 31.86 kB / 246.6 MB, free: 12.15 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.016e-05/0.002913, allocations: 19.94 kB / 246.6 MB, free: 12.13 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.003027, allocations: 63.64 kB / 246.7 MB, free: 12.07 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.003037, allocations: 4 kB / 246.7 MB, free: 12.06 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.003038, allocations: 0 / 246.7 MB, free: 12.06 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.003046, allocations: 0 / 246.7 MB, free: 12.06 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.0003819/0.003428, allocations: 332 kB / 247 MB, free: 11.71 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.003458, allocations: 8.031 kB / 247 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/0.003497, allocations: 16.92 kB / 247.1 MB, free: 11.69 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.003667, allocations: 153.4 kB / 247.2 MB, free: 11.51 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.003678, allocations: 12.38 kB / 247.2 MB, free: 11.5 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.003691, allocations: 4.375 kB / 247.2 MB, free: 11.5 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.003904, allocations: 161.6 kB / 247.4 MB, free: 11.33 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.003912, allocations: 4.125 kB / 247.4 MB, free: 11.32 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.00392, allocations: 8.312 kB / 247.4 MB, free: 11.32 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.003927, allocations: 4.375 kB / 247.4 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.888e-05/0.003956, allocations: 26.69 kB / 247.4 MB, free: 11.29 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.951e-05/0.004025, allocations: 67.83 kB / 247.5 MB, free: 11.2 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.004153, allocations: 76.19 kB / 247.6 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.172e-05/0.004205, allocations: 48.8 kB / 247.6 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/0.004213, allocations: 4.281 kB / 247.6 MB, free: 11.06 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.004235, allocations: 38.5 kB / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.192e-06/0.004236, allocations: 0 / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001433/0.004379, allocations: 88.98 kB / 247.7 MB, free: 10.93 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.004426, allocations: 63.39 kB / 247.8 MB, free: 10.85 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.98e-05/0.004516, allocations: 157.5 kB / 248 MB, free: 10.69 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.004527, allocations: 25.7 kB / 248 MB, free: 10.66 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.795e-05/0.004555, allocations: 88.45 kB / 248.1 MB, free: 10.56 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.134e-05/0.004566, allocations: 7.953 kB / 248.1 MB, free: 10.55 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/0.004599, allocations: 25.69 kB / 248.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.751e-05/0.004676, allocations: 322.8 kB / 248.4 MB, free: 10.2 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.794e-06/0.004684, allocations: 7.984 kB / 248.4 MB, free: 10.19 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.741e-05/0.004702, allocations: 17.66 kB / 248.4 MB, free: 10.17 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.336e-05/0.004725, allocations: 17.72 kB / 248.5 MB, free: 10.14 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.004727, allocations: 4 kB / 248.5 MB, free: 10.14 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.569e-05/0.004783, allocations: 49.62 kB / 248.5 MB, free: 10.09 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.004793, allocations: 4 kB / 248.5 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.0048, allocations: 4 kB / 248.5 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.004811, allocations: 0 / 248.5 MB, free: 10.08 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.141e-05/0.004852, allocations: 11.92 kB / 248.5 MB, free: 10.07 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.004856, allocations: 4 kB / 248.5 MB, free: 10.06 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.519e-05/0.004871, allocations: 0 / 248.5 MB, free: 10.06 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-06/0.004875, allocations: 0 / 248.5 MB, free: 10.06 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 6.765e-05/0.004942, allocations: 124.7 kB / 248.7 MB, free: 9.93 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.29e-05/0.005015, allocations: 77.55 kB / 248.7 MB, free: 9.848 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.812e-05/0.005053, allocations: 21.11 kB / 248.8 MB, free: 9.824 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.005057, allocations: 4 kB / 248.8 MB, free: 9.82 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.005058, allocations: 0 / 248.8 MB, free: 9.82 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.005061, allocations: 0 / 248.8 MB, free: 9.82 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.779e-05/0.005129, allocations: 85.77 kB / 248.8 MB, free: 9.719 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.00513, allocations: 0 / 248.8 MB, free: 9.719 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.42e-05/0.005214, allocations: 27.98 kB / 248.9 MB, free: 9.691 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.193e-05/0.005256, allocations: 27.83 kB / 248.9 MB, free: 9.664 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.005262, allocations: 4 kB / 248.9 MB, free: 9.66 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.005268, allocations: 4 kB / 248.9 MB, free: 9.656 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.005269, allocations: 0 / 248.9 MB, free: 9.656 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.00527, allocations: 0 / 248.9 MB, free: 9.656 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.458e-05/0.005315, allocations: 71.83 kB / 249 MB, free: 9.566 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.005332, allocations: 0 / 249 MB, free: 9.566 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.757e-05/0.005349, allocations: 4 kB / 249 MB, free: 9.562 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-06/0.005352, allocations: 0 / 249 MB, free: 9.562 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.005358, allocations: 4 kB / 249 MB, free: 9.559 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.262e-05/0.005391, allocations: 34.23 kB / 249 MB, free: 9.523 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005391, allocations: 0 / 249 MB, free: 9.523 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001418/0.005533, allocations: 12 kB / 249 MB, free: 9.512 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 8.331e-05/0.005616, allocations: 93.08 kB / 249.1 MB, free: 9.414 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.557e-05/0.005691, allocations: 40.7 kB / 249.2 MB, free: 9.371 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.005694, allocations: 0 / 249.2 MB, free: 9.371 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.005695, allocations: 4 kB / 249.2 MB, free: 9.367 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.005956, allocations: 219.1 kB / 249.4 MB, free: 9.121 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003273/0.009229, allocations: 224.5 kB / 249.6 MB, free: 8.879 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.72e-05/0.009276, allocations: 91.36 kB / 249.7 MB, free: 8.77 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.543e-05/0.009292, allocations: 0.5 kB / 249.7 MB, free: 8.77 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.545e-05/0.009357, allocations: 67.36 kB / 249.8 MB, free: 8.703 MB / 250.7 MB Notification: Performance of SimCode: time 4.41e-07/0.009358, allocations: 3.938 kB / 249.8 MB, free: 8.699 MB / 250.7 MB Notification: Performance of Templates: time 0.005942/0.0153, allocations: 1.259 MB / 251 MB, free: 7.465 MB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.353819633834064]