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.0009506/0.0009506, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001081/0.001081, allocations: 170.2 kB / 24.91 MB, free: 9.188 MB / 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 0.9555/0.9555, allocations: 177.1 MB / 205.3 MB, free: 5.453 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.583e-06/1.583e-06, allocations: 0 / 273.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.177e-05, allocations: 2.312 kB / 273.4 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.00167/0.001692, allocations: 0.9313 MB / 274.4 MB, free: 356 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000322/0.002014, allocations: 147.4 kB / 274.5 MB, free: 208 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.593e-05/0.00209, allocations: 3.938 kB / 274.5 MB, free: 204 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.002191, allocations: 19.8 kB / 274.5 MB, free: 184 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.002297, allocations: 15.92 kB / 274.6 MB, free: 168 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.00247, allocations: 51.81 kB / 274.6 MB, free: 116 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.002572, allocations: 59.78 kB / 274.7 MB, free: 56 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.446e-05/0.002667, allocations: 39.94 kB / 274.7 MB, free: 16 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.413e-05/0.002731, allocations: 35.91 kB / 274.7 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.29e-05/0.002804, allocations: 27.89 kB / 274.8 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.002827, allocations: 8 kB / 274.8 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.117e-05/0.002838, allocations: 4 kB / 274.8 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.964e-05/0.002888, allocations: 31.86 kB / 274.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.248e-05/0.00292, allocations: 31.91 kB / 274.8 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.003044, allocations: 67.69 kB / 274.9 MB, free: 15.81 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.003046, allocations: 0 / 274.9 MB, free: 15.81 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.003047, allocations: 0 / 274.9 MB, free: 15.81 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.00305, allocations: 0 / 274.9 MB, free: 15.81 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.0003394/0.003389, allocations: 312.3 kB / 275.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.003421, allocations: 8.031 kB / 275.2 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.003453, allocations: 20.92 kB / 275.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.003604, allocations: 150.4 kB / 275.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-06/0.003612, allocations: 4.375 kB / 275.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.003623, allocations: 12.38 kB / 275.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.003806, allocations: 161.4 kB / 275.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.003813, allocations: 192 / 275.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.00382, allocations: 384 / 275.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.003827, allocations: 4.375 kB / 275.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.275e-05/0.003849, allocations: 22.69 kB / 275.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.397e-05/0.003923, allocations: 83.77 kB / 275.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.004041, allocations: 82.94 kB / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.099e-05/0.004082, allocations: 40.83 kB / 275.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.754e-06/0.00409, allocations: 4 kB / 275.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.004108, allocations: 30.56 kB / 275.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.022e-06/0.004109, allocations: 0 / 275.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001288/0.004238, allocations: 93.81 kB / 275.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.004283, allocations: 63.41 kB / 276 MB, free: 14.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.549e-05/0.004359, allocations: 149.1 kB / 276.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.00437, allocations: 33.7 kB / 276.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.592e-05/0.004396, allocations: 92.44 kB / 276.2 MB, free: 14.33 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.119e-05/0.004407, allocations: 3.953 kB / 276.2 MB, free: 14.33 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.004434, allocations: 25.69 kB / 276.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.52e-05/0.004509, allocations: 322.8 kB / 276.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.101e-06/0.004515, allocations: 0 / 276.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.881e-05/0.004534, allocations: 21.7 kB / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.396e-05/0.004558, allocations: 21.66 kB / 276.6 MB, free: 13.92 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.00456, allocations: 0 / 276.6 MB, free: 13.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.641e-05/0.004606, allocations: 45.69 kB / 276.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/0.004616, allocations: 4 kB / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.00462, allocations: 0 / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.00463, allocations: 4 kB / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.875e-05/0.004668, allocations: 7.938 kB / 276.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.004672, allocations: 3.984 kB / 276.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.27e-05/0.004685, allocations: 7.938 kB / 276.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-06/0.004688, allocations: 0 / 276.7 MB, free: 13.84 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 6.137e-05/0.00475, allocations: 120.6 kB / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.00488, allocations: 76.55 kB / 276.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.101e-05/0.004911, allocations: 21.2 kB / 276.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.004914, allocations: 7.984 kB / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.004916, allocations: 0 / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.004918, allocations: 0 / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.416e-05/0.004972, allocations: 85.7 kB / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.004973, allocations: 0 / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.858e-05/0.005032, allocations: 35.92 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.005034, allocations: 0 / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-06/0.005039, allocations: 0 / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.00504, allocations: 4 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.005042, allocations: 7.984 kB / 277.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.313e-05/0.005085, allocations: 59.89 kB / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.575e-05/0.005121, allocations: 31.88 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.005139, allocations: 8 kB / 277.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.053e-05/0.005149, allocations: 0 / 277.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-06/0.005151, allocations: 0 / 277.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.005158, allocations: 11.94 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.587e-05/0.005184, allocations: 35.88 kB / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005184, allocations: 0 / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of remove unused functions: time 9.508e-05/0.005279, allocations: 8 kB / 277.2 MB, free: 13.28 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 8.546e-05/0.005364, allocations: 97.06 kB / 277.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.315e-05/0.005427, allocations: 32.73 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.00543, allocations: 0 / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.00543, allocations: 0 / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000175/0.005605, allocations: 74.58 kB / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002326/0.005838, allocations: 216.8 kB / 277.6 MB, free: 12.83 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.499e-05/0.005873, allocations: 75.33 kB / 277.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.668e-05/0.005889, allocations: 12.61 kB / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.277e-05/0.005942, allocations: 59.38 kB / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of SimCode: time 6.62e-07/0.005943, allocations: 0 / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of Templates: time 0.002553/0.008496, allocations: 1.226 MB / 279 MB, free: 11.48 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.556843549013138]