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.0009005/0.0009005, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001067/0.001067, allocations: 163.4 kB / 24.91 MB, free: 8.715 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 0.919/0.919, allocations: 177 MB / 205.2 MB, free: 5.055 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.292e-06/1.292e-06, allocations: 0 / 273.4 MB, free: 1.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.456e-05/1.585e-05, allocations: 5.266 kB / 273.4 MB, free: 1.086 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001374/0.00139, allocations: 0.9353 MB / 274.3 MB, free: 152 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000279/0.001669, allocations: 151.4 kB / 274.5 MB, free: 0 / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.184e-05/0.001751, allocations: 4.047 kB / 274.5 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.433e-05/0.001845, allocations: 15.86 kB / 274.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.836e-05/0.001943, allocations: 7.938 kB / 274.5 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001507/0.002094, allocations: 55.64 kB / 274.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.73e-05/0.002191, allocations: 59.83 kB / 274.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.856e-05/0.00228, allocations: 39.89 kB / 274.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.678e-05/0.002327, allocations: 39.89 kB / 274.7 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.862e-05/0.002395, allocations: 27.91 kB / 274.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.002416, allocations: 8 kB / 274.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.969e-06/0.002426, allocations: 4 kB / 274.7 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.113e-05/0.002467, allocations: 31.91 kB / 274.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.002495, allocations: 23.92 kB / 274.8 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.002595, allocations: 71.67 kB / 274.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.002597, allocations: 0 / 274.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.002597, allocations: 0 / 274.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.002601, allocations: 0 / 274.8 MB, free: 15.62 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.0002729/0.002874, allocations: 312.3 kB / 275.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.705e-05/0.002901, allocations: 15.98 kB / 275.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.002929, allocations: 16.92 kB / 275.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.003063, allocations: 161.5 kB / 275.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.003071, allocations: 4.375 kB / 275.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.003083, allocations: 8.375 kB / 275.4 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.003248, allocations: 153.6 kB / 275.5 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.003254, allocations: 8.125 kB / 275.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-06/0.00326, allocations: 384 / 275.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.003264, allocations: 4.375 kB / 275.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.445e-05/0.003289, allocations: 22.75 kB / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.708e-05/0.003346, allocations: 71.77 kB / 275.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.003452, allocations: 80.17 kB / 275.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.713e-05/0.003489, allocations: 39.8 kB / 275.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.173e-06/0.003497, allocations: 4 kB / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/0.003512, allocations: 34.5 kB / 275.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 7.71e-07/0.003513, allocations: 0 / 275.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.000114/0.003627, allocations: 97.88 kB / 275.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.003668, allocations: 63.41 kB / 275.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.768e-05/0.003735, allocations: 148 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.003746, allocations: 29.7 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.344e-05/0.003769, allocations: 88.45 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.033e-05/0.00378, allocations: 7.938 kB / 276.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/0.003802, allocations: 29.64 kB / 276.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.474e-05/0.003866, allocations: 322.8 kB / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.19e-06/0.003872, allocations: 0 / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.037e-05/0.003892, allocations: 25.64 kB / 276.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.253e-05/0.003915, allocations: 25.7 kB / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.003916, allocations: 0 / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.75e-05/0.003953, allocations: 45.62 kB / 276.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.689e-06/0.003963, allocations: 8 kB / 276.6 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.003967, allocations: 0 / 276.6 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.003979, allocations: 0 / 276.6 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.227e-05/0.004012, allocations: 4 kB / 276.6 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.004015, allocations: 3.984 kB / 276.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.032e-05/0.004025, allocations: 4.062 kB / 276.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-06/0.004028, allocations: 4 kB / 276.6 MB, free: 13.64 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 5.201e-05/0.00408, allocations: 124.5 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.117e-05/0.004132, allocations: 77.61 kB / 276.8 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.807e-05/0.00416, allocations: 17.11 kB / 276.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.004162, allocations: 4 kB / 276.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.004163, allocations: 0 / 276.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.004166, allocations: 96 / 276.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.934e-05/0.004215, allocations: 93.7 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.004217, allocations: 3.984 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.291e-05/0.004269, allocations: 23.98 kB / 277 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.52e-07/0.00427, allocations: 4 kB / 277 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.004276, allocations: 4 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.004276, allocations: 0 / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.004277, allocations: 0 / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.404e-05/0.004311, allocations: 67.83 kB / 277.1 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.344e-05/0.004344, allocations: 31.83 kB / 277.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.004359, allocations: 4 kB / 277.1 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.049e-05/0.00437, allocations: 0 / 277.1 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-06/0.004372, allocations: 0 / 277.1 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.004377, allocations: 8 kB / 277.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.186e-05/0.004399, allocations: 34.25 kB / 277.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004399, allocations: 0 / 277.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 9.508e-05/0.004494, allocations: 12 kB / 277.1 MB, free: 13.08 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.695e-05/0.004561, allocations: 95.02 kB / 277.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.659e-05/0.004618, allocations: 36.73 kB / 277.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.00462, allocations: 0 / 277.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.8e-07/0.00462, allocations: 0 / 277.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.004777, allocations: 82.58 kB / 277.4 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002092/0.004986, allocations: 216.9 kB / 277.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.404e-05/0.00502, allocations: 75.33 kB / 277.6 MB, free: 12.53 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.371e-05/0.005034, allocations: 8.484 kB / 277.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.824e-05/0.005082, allocations: 59.38 kB / 277.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of SimCode: time 8.22e-07/0.005083, allocations: 0 / 277.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of Templates: time 0.002241/0.007324, allocations: 1.232 MB / 278.9 MB, free: 11.26 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.5236835991963744]