Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.001057/0.001057, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001276/0.001276, allocations: 166.8 kB / 25.61 MB, free: 8.582 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 1.04/1.04, allocations: 177 MB / 205.9 MB, free: 4.465 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.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 274.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.746e-05, allocations: 4.938 kB / 274.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.002221/0.002249, allocations: 1.039 MB / 275.2 MB, free: 3.238 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003701/0.002619, allocations: 135.5 kB / 275.3 MB, free: 3.105 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.29e-05/0.002712, allocations: 9.875 kB / 275.3 MB, free: 3.098 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.002819, allocations: 11.86 kB / 275.3 MB, free: 3.086 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.00292, allocations: 7.875 kB / 275.3 MB, free: 3.078 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.003133, allocations: 51.88 kB / 275.4 MB, free: 3.027 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.003266, allocations: 60.69 kB / 275.4 MB, free: 2.969 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.003384, allocations: 35.89 kB / 275.5 MB, free: 2.934 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.204e-05/0.003437, allocations: 40.53 kB / 275.5 MB, free: 2.895 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.949e-05/0.003486, allocations: 19.91 kB / 275.5 MB, free: 2.875 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.003508, allocations: 9.656 kB / 275.5 MB, free: 2.867 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.358e-05/0.003522, allocations: 4 kB / 275.5 MB, free: 2.863 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.481e-05/0.003587, allocations: 23.91 kB / 275.6 MB, free: 2.84 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.243e-05/0.003629, allocations: 27.86 kB / 275.6 MB, free: 2.812 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.003763, allocations: 64.39 kB / 275.7 MB, free: 2.75 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.003765, allocations: 3.938 kB / 275.7 MB, free: 2.746 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.003766, allocations: 0.5312 kB / 275.7 MB, free: 2.746 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.00377, allocations: 0 / 275.7 MB, free: 2.746 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.0004101/0.00418, allocations: 439.2 kB / 276.1 MB, free: 2.281 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.004221, allocations: 8.031 kB / 276.1 MB, free: 2.273 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.004265, allocations: 20.84 kB / 276.1 MB, free: 2.254 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.004451, allocations: 148.9 kB / 276.3 MB, free: 2.082 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.004465, allocations: 12.36 kB / 276.3 MB, free: 2.07 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.004478, allocations: 8.375 kB / 276.3 MB, free: 2.062 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.004711, allocations: 159.1 kB / 276.4 MB, free: 1.895 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.004719, allocations: 192 / 276.4 MB, free: 1.895 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.004732, allocations: 8.125 kB / 276.5 MB, free: 1.887 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.004739, allocations: 4 kB / 276.5 MB, free: 1.883 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.566e-05/0.004764, allocations: 11.98 kB / 276.5 MB, free: 1.871 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001103/0.004875, allocations: 117.1 kB / 276.6 MB, free: 1.73 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.005018, allocations: 91.08 kB / 276.7 MB, free: 1.629 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.67e-05/0.005085, allocations: 48.02 kB / 276.7 MB, free: 1.578 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.366e-06/0.005093, allocations: 7.938 kB / 276.7 MB, free: 1.57 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.005123, allocations: 41.33 kB / 276.8 MB, free: 1.52 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.243e-06/0.005124, allocations: 0 / 276.8 MB, free: 1.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001966/0.005321, allocations: 108.2 kB / 276.9 MB, free: 1.41 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.005375, allocations: 67.36 kB / 276.9 MB, free: 1.332 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.005485, allocations: 205.2 kB / 277.1 MB, free: 1.117 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.005498, allocations: 25.7 kB / 277.2 MB, free: 1.086 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.017e-05/0.005548, allocations: 143.2 kB / 277.3 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/0.005562, allocations: 7.984 kB / 277.3 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.005594, allocations: 19.38 kB / 277.3 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.005734, allocations: 496.1 kB / 277.8 MB, free: 416 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.295e-05/0.005747, allocations: 7.984 kB / 277.8 MB, free: 408 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.272e-05/0.00577, allocations: 23.31 kB / 277.8 MB, free: 376 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.685e-05/0.005807, allocations: 27.36 kB / 277.9 MB, free: 340 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.005809, allocations: 0 / 277.9 MB, free: 340 kB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.46e-05/0.005893, allocations: 57.58 kB / 277.9 MB, free: 276 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.00591, allocations: 4 kB / 277.9 MB, free: 272 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.005916, allocations: 4 kB / 277.9 MB, free: 268 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.005933, allocations: 3.938 kB / 277.9 MB, free: 264 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.63e-05/0.005989, allocations: 8 kB / 277.9 MB, free: 256 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.005993, allocations: 0 / 277.9 MB, free: 256 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.054e-05/0.006014, allocations: 4 kB / 278 MB, free: 252 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.006018, allocations: 0 / 278 MB, free: 252 kB / 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: 0 () * 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.0001121/0.00613, allocations: 156.6 kB / 278.1 MB, free: 84 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.006247, allocations: 101.5 kB / 278.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.089e-05/0.006288, allocations: 21.19 kB / 278.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.006292, allocations: 3.938 kB / 278.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.006297, allocations: 8 kB / 278.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.006302, allocations: 0 / 278.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.165e-05/0.006394, allocations: 121.1 kB / 278.4 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.006395, allocations: 0 / 278.4 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.92e-05/0.006475, allocations: 20 kB / 278.4 MB, free: 15.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.006477, allocations: 4 kB / 278.4 MB, free: 15.78 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.006484, allocations: 4 kB / 278.4 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.006488, allocations: 3.984 kB / 278.4 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.006489, allocations: 0 / 278.4 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.654e-05/0.006546, allocations: 86.89 kB / 278.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/0.006593, allocations: 19.94 kB / 278.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.006611, allocations: 0 / 278.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.983e-05/0.006631, allocations: 8 kB / 278.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-06/0.006634, allocations: 96 / 278.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.00664, allocations: 0 / 278.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.445e-05/0.006704, allocations: 155.1 kB / 278.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006704, allocations: 0 / 278.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000179/0.006883, allocations: 8 kB / 278.7 MB, free: 15.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: 0 () * 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.0001016/0.006985, allocations: 111.2 kB / 278.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.817e-05/0.007073, allocations: 35.61 kB / 278.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.007075, allocations: 0 / 278.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.007076, allocations: 0 / 278.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.007367, allocations: 76.77 kB / 278.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000272/0.007639, allocations: 214.5 kB / 279.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.493e-05/0.007684, allocations: 75.33 kB / 279.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.882e-05/0.007702, allocations: 4.5 kB / 279.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.231e-05/0.007765, allocations: 78.19 kB / 279.2 MB, free: 14.84 MB / 266.7 MB Notification: Performance of SimCode: time 4.21e-07/0.007765, allocations: 4.125 kB / 279.2 MB, free: 14.84 MB / 266.7 MB Notification: Performance of Templates: time 0.003049/0.01081, allocations: 1.054 MB / 280.3 MB, free: 13.81 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/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.8289441098459065]