Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 83.89 kB / 21.19 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009963/0.0009963, allocations: 141.1 kB / 24.54 MB, free: 28 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.005/1.005, allocations: 173.4 MB / 201.1 MB, free: 9.332 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.507e-05/2.674e-05, allocations: 2.312 kB / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002036/0.002062, allocations: 0.9321 MB / 268.9 MB, free: 5.504 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004346/0.002497, allocations: 147.4 kB / 269.1 MB, free: 5.359 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.454e-05/0.002592, allocations: 7.938 kB / 269.1 MB, free: 5.352 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.002728, allocations: 15.8 kB / 269.1 MB, free: 5.336 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001544/0.002883, allocations: 15.92 kB / 269.1 MB, free: 5.32 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.003103, allocations: 47.77 kB / 269.2 MB, free: 5.273 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.003223, allocations: 63.83 kB / 269.2 MB, free: 5.211 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.003366, allocations: 31.97 kB / 269.2 MB, free: 5.18 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.566e-05/0.003422, allocations: 35.91 kB / 269.3 MB, free: 5.145 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.957e-05/0.003511, allocations: 31.89 kB / 269.3 MB, free: 5.113 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.816e-05/0.003539, allocations: 8 kB / 269.3 MB, free: 5.105 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.287e-05/0.003552, allocations: 4 kB / 269.3 MB, free: 5.102 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.601e-05/0.003618, allocations: 31.86 kB / 269.4 MB, free: 5.07 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.76e-05/0.003666, allocations: 27.91 kB / 269.4 MB, free: 5.043 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.003809, allocations: 67.69 kB / 269.5 MB, free: 4.977 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.003812, allocations: 0 / 269.5 MB, free: 4.977 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.003814, allocations: 0 / 269.5 MB, free: 4.977 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.269e-06/0.003819, allocations: 0 / 269.5 MB, free: 4.977 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.0004456/0.004265, allocations: 452 kB / 269.9 MB, free: 4.496 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.004304, allocations: 12.03 kB / 269.9 MB, free: 4.484 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.378e-05/0.004358, allocations: 24.84 kB / 269.9 MB, free: 4.461 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.004582, allocations: 161.8 kB / 270.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.004594, allocations: 8.375 kB / 270.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.004609, allocations: 4.375 kB / 270.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003933/0.005002, allocations: 181.2 kB / 270.3 MB, free: 4.074 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.00501, allocations: 192 / 270.3 MB, free: 4.074 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.005022, allocations: 4.375 kB / 270.3 MB, free: 4.07 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.00503, allocations: 384 / 270.3 MB, free: 4.07 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.118e-05/0.005071, allocations: 27.86 kB / 270.3 MB, free: 4.043 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001227/0.005193, allocations: 136.5 kB / 270.4 MB, free: 3.875 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.00537, allocations: 99.28 kB / 270.5 MB, free: 3.766 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.78e-05/0.005438, allocations: 51.84 kB / 270.6 MB, free: 3.711 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.005448, allocations: 4 kB / 270.6 MB, free: 3.707 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001908/0.005639, allocations: 41.39 kB / 270.6 MB, free: 3.656 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.00564, allocations: 0 / 270.6 MB, free: 3.656 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002419/0.005882, allocations: 125.8 kB / 270.8 MB, free: 3.527 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/0.005949, allocations: 63.34 kB / 270.8 MB, free: 3.453 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.006079, allocations: 216.8 kB / 271 MB, free: 3.227 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.006098, allocations: 33.7 kB / 271.1 MB, free: 3.188 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.006149, allocations: 139.2 kB / 271.2 MB, free: 3.043 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.006167, allocations: 4 kB / 271.2 MB, free: 3.039 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.006206, allocations: 35.31 kB / 271.2 MB, free: 2.996 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.006372, allocations: 496.1 kB / 271.7 MB, free: 2.5 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.47e-05/0.006387, allocations: 4 kB / 271.7 MB, free: 2.496 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.321e-05/0.00641, allocations: 27.36 kB / 271.8 MB, free: 2.461 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.268e-05/0.006442, allocations: 23.38 kB / 271.8 MB, free: 2.43 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.006445, allocations: 0 / 271.8 MB, free: 2.43 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.489e-05/0.00652, allocations: 61.52 kB / 271.8 MB, free: 2.363 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.006539, allocations: 8 kB / 271.8 MB, free: 2.355 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.006544, allocations: 0 / 271.8 MB, free: 2.355 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.006557, allocations: 0 / 271.8 MB, free: 2.355 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.829e-05/0.006615, allocations: 8 kB / 271.9 MB, free: 2.348 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.006623, allocations: 4.062 kB / 271.9 MB, free: 2.344 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.563e-05/0.006638, allocations: 3.938 kB / 271.9 MB, free: 2.34 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.006644, allocations: 0 / 271.9 MB, free: 2.34 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 8.26e-05/0.006727, allocations: 164.5 kB / 272 MB, free: 2.168 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.006829, allocations: 104.7 kB / 272.1 MB, free: 2.062 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.359e-05/0.006872, allocations: 17.12 kB / 272.1 MB, free: 2.047 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.006875, allocations: 0 / 272.1 MB, free: 2.047 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.006879, allocations: 0 / 272.1 MB, free: 2.047 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.006883, allocations: 3.938 kB / 272.1 MB, free: 2.043 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.055e-05/0.006964, allocations: 148.5 kB / 272.3 MB, free: 1.863 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.006966, allocations: 4 kB / 272.3 MB, free: 1.859 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.466e-05/0.00705, allocations: 31.92 kB / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.007053, allocations: 0 / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.007062, allocations: 4 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.007064, allocations: 3.984 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.007066, allocations: 0 / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.007203, allocations: 148.2 kB / 272.5 MB, free: 1.652 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.007248, allocations: 23.98 kB / 272.5 MB, free: 1.629 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.007276, allocations: 11.97 kB / 272.5 MB, free: 1.617 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.903e-05/0.007295, allocations: 4 kB / 272.5 MB, free: 1.613 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-06/0.0073, allocations: 0 / 272.5 MB, free: 1.613 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.007307, allocations: 8 kB / 272.5 MB, free: 1.605 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.139e-05/0.007378, allocations: 151.2 kB / 272.7 MB, free: 1.457 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.007378, allocations: 3.938 kB / 272.7 MB, free: 1.453 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000146/0.007524, allocations: 12 kB / 272.7 MB, free: 1.441 MB / 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 0.0001258/0.00765, allocations: 111.1 kB / 272.8 MB, free: 1.324 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001322/0.007782, allocations: 43.61 kB / 272.8 MB, free: 1.277 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.007785, allocations: 0 / 272.8 MB, free: 1.277 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.007786, allocations: 4.125 kB / 272.8 MB, free: 1.273 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.008117, allocations: 74.5 kB / 272.9 MB, free: 1.203 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003787/0.008496, allocations: 237.8 kB / 273.1 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/0.008677, allocations: 79.08 kB / 273.2 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.337e-05/0.0087, allocations: 8.438 kB / 273.2 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.918e-05/0.008739, allocations: 12.5 kB / 273.2 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of SimCode: time 1.092e-06/0.00874, allocations: 0 / 273.2 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of Templates: time 0.003696/0.01244, allocations: 1.209 MB / 274.5 MB, free: 15.63 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.7676370250992477]