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.001014/0.001014, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001106/0.001106, allocations: 168.8 kB / 24.82 MB, free: 9.27 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 1.028/1.028, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.664e-06/1.664e-06, allocations: 0 / 273.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.593e-05/1.759e-05, allocations: 2.312 kB / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002204/0.002221, allocations: 0.918 MB / 274.3 MB, free: 404 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004207/0.002642, allocations: 151.4 kB / 274.5 MB, free: 252 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.141e-05/0.002733, allocations: 3.938 kB / 274.5 MB, free: 248 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.002855, allocations: 15.86 kB / 274.5 MB, free: 232 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.002988, allocations: 11.88 kB / 274.5 MB, free: 220 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.003237, allocations: 47.83 kB / 274.5 MB, free: 172 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.003374, allocations: 71.75 kB / 274.6 MB, free: 100 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.003503, allocations: 27.98 kB / 274.6 MB, free: 72 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.686e-05/0.00357, allocations: 39.89 kB / 274.7 MB, free: 32 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.086e-05/0.003661, allocations: 27.89 kB / 274.7 MB, free: 4 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.091e-05/0.003702, allocations: 8.047 kB / 274.7 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.642e-05/0.003718, allocations: 4 kB / 274.7 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.612e-05/0.003774, allocations: 31.86 kB / 274.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.824e-05/0.003813, allocations: 27.86 kB / 274.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.003953, allocations: 71.67 kB / 274.8 MB, free: 15.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.003954, allocations: 0 / 274.8 MB, free: 15.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.003955, allocations: 4 kB / 274.8 MB, free: 15.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.076e-06/0.003958, allocations: 0 / 274.8 MB, free: 15.86 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.0004378/0.004396, allocations: 444 kB / 275.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.004437, allocations: 12.03 kB / 275.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/0.004481, allocations: 16.84 kB / 275.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.004675, allocations: 161.2 kB / 275.5 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.004687, allocations: 8.375 kB / 275.5 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.0047, allocations: 8.375 kB / 275.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.004964, allocations: 160.6 kB / 275.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.004973, allocations: 192 / 275.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.004981, allocations: 384 / 275.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-06/0.00499, allocations: 4.375 kB / 275.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.692e-05/0.005027, allocations: 19.86 kB / 275.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001259/0.005153, allocations: 121.1 kB / 275.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.005315, allocations: 95.44 kB / 275.9 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.21e-05/0.005387, allocations: 54.73 kB / 275.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.005396, allocations: 4 kB / 275.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.005421, allocations: 33.39 kB / 276 MB, free: 14.62 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.162e-06/0.005422, allocations: 0 / 276 MB, free: 14.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002049/0.005627, allocations: 113.8 kB / 276.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.005677, allocations: 67.33 kB / 276.1 MB, free: 14.42 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.005815, allocations: 217 kB / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.005831, allocations: 29.7 kB / 276.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/0.005884, allocations: 135.2 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.005899, allocations: 7.938 kB / 276.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-05/0.005939, allocations: 35.36 kB / 276.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.006088, allocations: 0.4961 MB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.263e-06/0.006095, allocations: 0 / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.047e-05/0.006116, allocations: 19.38 kB / 277.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.326e-05/0.006149, allocations: 23.38 kB / 277.1 MB, free: 13.4 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.006151, allocations: 0 / 277.1 MB, free: 13.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.227e-05/0.006223, allocations: 57.58 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.006235, allocations: 6.344 kB / 277.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.006239, allocations: 4.062 kB / 277.2 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.006251, allocations: 0 / 277.2 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.36e-05/0.006295, allocations: 8 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.006298, allocations: 0 / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.007e-05/0.006318, allocations: 3.984 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.006324, allocations: 7.938 kB / 277.2 MB, free: 13.31 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 7.797e-05/0.006402, allocations: 164.5 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.00652, allocations: 93.59 kB / 277.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.278e-05/0.006563, allocations: 17.12 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.006566, allocations: 3.984 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.006567, allocations: 4 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.006571, allocations: 0 / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.807e-05/0.006659, allocations: 125 kB / 277.6 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.00666, allocations: 0 / 277.6 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.006762, allocations: 31.92 kB / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.006764, allocations: 0 / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.006771, allocations: 0 / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.006772, allocations: 0 / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.006773, allocations: 0 / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.492e-05/0.006828, allocations: 80.33 kB / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.006876, allocations: 27.84 kB / 277.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.0069, allocations: 11.98 kB / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.849e-05/0.006929, allocations: 4 kB / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-06/0.006931, allocations: 0 / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.006941, allocations: 4 kB / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.227e-05/0.007003, allocations: 145.4 kB / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007003, allocations: 0 / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001898/0.007193, allocations: 12 kB / 277.9 MB, free: 12.54 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 9.792e-05/0.007291, allocations: 111.8 kB / 278 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.496e-05/0.007386, allocations: 43.47 kB / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.007387, allocations: 0 / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-07/0.007388, allocations: 0 / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.007688, allocations: 71.73 kB / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003141/0.008002, allocations: 226.5 kB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.621e-05/0.008048, allocations: 75.33 kB / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.642e-05/0.008065, allocations: 0.5938 kB / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.008171, allocations: 90.12 kB / 278.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.008172, allocations: 128 / 278.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of Templates: time 0.003346/0.01152, allocations: 1.218 MB / 279.7 MB, free: 10.69 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.694227193016559]