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.0009924/0.0009924, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009455/0.0009455, allocations: 168.9 kB / 24.91 MB, free: 8.723 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.8958/0.8958, allocations: 177.1 MB / 205.3 MB, free: 4.496 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.282e-06/1.282e-06, allocations: 0 / 273.5 MB, free: 4.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.533e-05/1.661e-05, allocations: 2.312 kB / 273.5 MB, free: 4.383 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001609/0.001626, allocations: 0.963 MB / 274.5 MB, free: 3.441 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002986/0.001924, allocations: 151.4 kB / 274.6 MB, free: 3.293 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.373e-05/0.001998, allocations: 3.938 kB / 274.6 MB, free: 3.289 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.002104, allocations: 21.27 kB / 274.6 MB, free: 3.27 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.00222, allocations: 11.91 kB / 274.6 MB, free: 3.258 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001702/0.00239, allocations: 47.89 kB / 274.7 MB, free: 3.211 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.002496, allocations: 64.61 kB / 274.8 MB, free: 3.148 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.002602, allocations: 35.89 kB / 274.8 MB, free: 3.113 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.299e-05/0.002655, allocations: 39.91 kB / 274.8 MB, free: 3.074 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.927e-05/0.002725, allocations: 32.55 kB / 274.9 MB, free: 3.043 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.002744, allocations: 6.406 kB / 274.9 MB, free: 3.039 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.009e-05/0.002754, allocations: 4 kB / 274.9 MB, free: 3.035 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.187e-05/0.002796, allocations: 35.84 kB / 274.9 MB, free: 3 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.002824, allocations: 19.94 kB / 274.9 MB, free: 2.98 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.002927, allocations: 75.66 kB / 275 MB, free: 2.906 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.383e-06/0.002928, allocations: 0 / 275 MB, free: 2.906 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.002929, allocations: 0 / 275 MB, free: 2.906 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.856e-06/0.002932, allocations: 4 kB / 275 MB, free: 2.902 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.0002606/0.003192, allocations: 312.3 kB / 275.3 MB, free: 2.57 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.665e-05/0.003219, allocations: 12.03 kB / 275.3 MB, free: 2.559 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/0.003249, allocations: 20.92 kB / 275.3 MB, free: 2.539 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.003387, allocations: 149.5 kB / 275.5 MB, free: 2.367 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.275e-06/0.003396, allocations: 8.359 kB / 275.5 MB, free: 2.359 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.003405, allocations: 8.375 kB / 275.5 MB, free: 2.352 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.003583, allocations: 162.3 kB / 275.7 MB, free: 2.18 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.003589, allocations: 192 / 275.7 MB, free: 2.18 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.003595, allocations: 384 / 275.7 MB, free: 2.18 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.003601, allocations: 4.375 kB / 275.7 MB, free: 2.176 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.328e-05/0.003624, allocations: 26.62 kB / 275.7 MB, free: 2.148 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.066e-05/0.003685, allocations: 67.88 kB / 275.8 MB, free: 2.066 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.003792, allocations: 84.11 kB / 275.8 MB, free: 1.973 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.036e-05/0.003832, allocations: 40.83 kB / 275.9 MB, free: 1.93 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.003841, allocations: 8 kB / 275.9 MB, free: 1.922 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.003856, allocations: 30.56 kB / 275.9 MB, free: 1.883 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 8.21e-07/0.003857, allocations: 0 / 275.9 MB, free: 1.883 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001229/0.00398, allocations: 92.27 kB / 276 MB, free: 1.789 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.004022, allocations: 67.36 kB / 276.1 MB, free: 1.711 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.997e-05/0.004092, allocations: 149.5 kB / 276.2 MB, free: 1.555 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.004104, allocations: 29.7 kB / 276.2 MB, free: 1.52 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.366e-05/0.004128, allocations: 92.36 kB / 276.3 MB, free: 1.422 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.427e-06/0.004137, allocations: 3.953 kB / 276.3 MB, free: 1.418 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.377e-05/0.004161, allocations: 29.69 kB / 276.4 MB, free: 1.383 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.803e-05/0.004229, allocations: 326.8 kB / 276.7 MB, free: 1.055 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.228e-06/0.004233, allocations: 0 / 276.7 MB, free: 1.055 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.447e-05/0.004247, allocations: 17.72 kB / 276.7 MB, free: 1.031 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.828e-05/0.004276, allocations: 21.66 kB / 276.7 MB, free: 1.004 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.004277, allocations: 0 / 276.7 MB, free: 1.004 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.463e-05/0.004322, allocations: 45.62 kB / 276.8 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.004332, allocations: 4 kB / 276.8 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.004336, allocations: 4.062 kB / 276.8 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.669e-06/0.004346, allocations: 7.984 kB / 276.8 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.908e-05/0.004385, allocations: 4 kB / 276.8 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.004388, allocations: 7.984 kB / 276.8 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.172e-05/0.0044, allocations: 3.938 kB / 276.8 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-06/0.004403, allocations: 0 / 276.8 MB, free: 0.9219 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 5.742e-05/0.00446, allocations: 120.9 kB / 276.9 MB, free: 0.793 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.345e-05/0.004514, allocations: 81.55 kB / 277 MB, free: 0.707 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.029e-05/0.004544, allocations: 17.11 kB / 277 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.004547, allocations: 4 kB / 277 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.004548, allocations: 4 kB / 277 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.004551, allocations: 0 / 277 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.077e-05/0.004602, allocations: 85.77 kB / 277.1 MB, free: 0.582 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.004602, allocations: 0 / 277.1 MB, free: 0.582 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.848e-05/0.004661, allocations: 27.98 kB / 277.1 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.004662, allocations: 4 kB / 277.1 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.004668, allocations: 0 / 277.1 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.00467, allocations: 7.984 kB / 277.1 MB, free: 0.543 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.004671, allocations: 0 / 277.1 MB, free: 0.543 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.983e-05/0.004711, allocations: 67.84 kB / 277.2 MB, free: 468 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.325e-05/0.004744, allocations: 27.83 kB / 277.2 MB, free: 440 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.00476, allocations: 8 kB / 277.2 MB, free: 432 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.084e-05/0.004771, allocations: 4.094 kB / 277.3 MB, free: 428 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-06/0.004775, allocations: 3.984 kB / 277.3 MB, free: 424 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.004779, allocations: 0 / 277.3 MB, free: 424 kB / 250.7 MB Notification: Performance of sorting global known variables: time 2.486e-05/0.004803, allocations: 40.06 kB / 277.3 MB, free: 384 kB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004803, allocations: 0 / 277.3 MB, free: 384 kB / 250.7 MB Notification: Performance of remove unused functions: time 9.544e-05/0.004899, allocations: 12 kB / 277.3 MB, free: 372 kB / 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 6.998e-05/0.004969, allocations: 84.42 kB / 277.4 MB, free: 280 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.14e-05/0.00503, allocations: 44.77 kB / 277.4 MB, free: 232 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.005033, allocations: 0 / 277.4 MB, free: 232 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.005033, allocations: 0 / 277.4 MB, free: 232 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.005205, allocations: 88.34 kB / 277.5 MB, free: 148 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002312/0.005436, allocations: 216.9 kB / 277.7 MB, free: 15.9 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.331e-05/0.005469, allocations: 75.33 kB / 277.8 MB, free: 15.81 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.167e-05/0.005481, allocations: 0.5 kB / 277.8 MB, free: 15.81 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.277e-05/0.005534, allocations: 67.36 kB / 277.9 MB, free: 15.74 MB / 266.7 MB Notification: Performance of SimCode: time 4.8e-07/0.005534, allocations: 0 / 277.9 MB, free: 15.74 MB / 266.7 MB Notification: Performance of Templates: time 0.0024/0.007934, allocations: 1.218 MB / 279.1 MB, free: 14.55 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 -s gbode -gbm=radauIIA3 -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.534929209854454]