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.001063/0.001063, allocations: 76.06 kB / 21.69 MB, free: 2.859 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.0009597/0.0009597, allocations: 147.6 kB / 24.98 MB, free: 8.867 MB / 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 0.9895/0.9895, allocations: 173.4 MB / 201.5 MB, free: 9.316 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.713e-06/1.713e-06, allocations: 0 / 268.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.472e-05, allocations: 6.25 kB / 268.1 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001829/0.001853, allocations: 0.9203 MB / 269 MB, free: 5.793 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004661/0.002319, allocations: 155.4 kB / 269.2 MB, free: 5.641 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.002442, allocations: 3.938 kB / 269.2 MB, free: 5.637 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.002586, allocations: 15.86 kB / 269.2 MB, free: 5.621 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.002738, allocations: 7.938 kB / 269.2 MB, free: 5.613 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.002961, allocations: 59.73 kB / 269.2 MB, free: 5.555 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.003097, allocations: 59.78 kB / 269.3 MB, free: 5.496 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.003239, allocations: 27.98 kB / 269.3 MB, free: 5.469 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.677e-05/0.003296, allocations: 39.89 kB / 269.4 MB, free: 5.43 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.442e-05/0.00339, allocations: 31.89 kB / 269.4 MB, free: 5.398 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.003418, allocations: 4 kB / 269.4 MB, free: 5.395 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.398e-05/0.003432, allocations: 8 kB / 269.4 MB, free: 5.387 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.983e-05/0.003492, allocations: 31.91 kB / 269.4 MB, free: 5.355 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.094e-05/0.003533, allocations: 23.92 kB / 269.5 MB, free: 5.332 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.003668, allocations: 75.61 kB / 269.5 MB, free: 5.258 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.00367, allocations: 0 / 269.5 MB, free: 5.258 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.003671, allocations: 3.938 kB / 269.5 MB, free: 5.254 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.003675, allocations: 0 / 269.5 MB, free: 5.254 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.0004728/0.004148, allocations: 444 kB / 270 MB, free: 4.781 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.004186, allocations: 8.031 kB / 270 MB, free: 4.773 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.364e-05/0.00424, allocations: 24.84 kB / 270 MB, free: 4.75 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.004448, allocations: 164.2 kB / 270.2 MB, free: 4.562 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.004463, allocations: 12.31 kB / 270.2 MB, free: 4.551 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.004477, allocations: 4.375 kB / 270.2 MB, free: 4.547 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003108/0.004787, allocations: 181.3 kB / 270.4 MB, free: 4.355 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.004797, allocations: 192 / 270.4 MB, free: 4.355 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.004809, allocations: 4.375 kB / 270.4 MB, free: 4.352 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.004818, allocations: 384 / 270.4 MB, free: 4.352 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.027e-05/0.004868, allocations: 27.86 kB / 270.4 MB, free: 4.324 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001284/0.004997, allocations: 136.6 kB / 270.5 MB, free: 4.156 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.005164, allocations: 99.45 kB / 270.6 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.821e-05/0.005232, allocations: 51.67 kB / 270.7 MB, free: 3.992 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.703e-06/0.005239, allocations: 0 / 270.7 MB, free: 3.992 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.005265, allocations: 45.38 kB / 270.7 MB, free: 3.938 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 9.52e-07/0.005266, allocations: 0 / 270.7 MB, free: 3.938 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002075/0.005473, allocations: 121.8 kB / 270.8 MB, free: 3.812 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.00553, allocations: 63.41 kB / 270.9 MB, free: 3.738 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.005661, allocations: 220.2 kB / 271.1 MB, free: 3.508 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.005673, allocations: 33.64 kB / 271.1 MB, free: 3.469 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.102e-05/0.005724, allocations: 139.2 kB / 271.3 MB, free: 3.324 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.00574, allocations: 7.922 kB / 271.3 MB, free: 3.316 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.005774, allocations: 31.33 kB / 271.3 MB, free: 3.277 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.005903, allocations: 0.4884 MB / 271.8 MB, free: 2.777 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.097e-05/0.005914, allocations: 4 kB / 271.8 MB, free: 2.773 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.295e-05/0.005937, allocations: 19.38 kB / 271.8 MB, free: 2.746 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.559e-05/0.005973, allocations: 35.36 kB / 271.9 MB, free: 2.703 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.005975, allocations: 0 / 271.9 MB, free: 2.703 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.151e-05/0.006036, allocations: 53.59 kB / 271.9 MB, free: 2.645 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.00605, allocations: 6.969 kB / 271.9 MB, free: 2.641 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.006055, allocations: 0 / 271.9 MB, free: 2.641 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.006069, allocations: 0 / 271.9 MB, free: 2.641 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.04e-05/0.006119, allocations: 11.98 kB / 271.9 MB, free: 2.629 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.006124, allocations: 0 / 271.9 MB, free: 2.629 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.219e-05/0.006136, allocations: 3.938 kB / 271.9 MB, free: 2.625 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.006141, allocations: 4.062 kB / 271.9 MB, free: 2.621 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 6.62e-05/0.006207, allocations: 164.5 kB / 272.1 MB, free: 2.449 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.21e-05/0.006289, allocations: 100.9 kB / 272.2 MB, free: 2.348 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.646e-05/0.006326, allocations: 21.11 kB / 272.2 MB, free: 2.328 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.006328, allocations: 0 / 272.2 MB, free: 2.328 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.006332, allocations: 0 / 272.2 MB, free: 2.328 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/0.006339, allocations: 11.94 kB / 272.2 MB, free: 2.316 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.174e-05/0.006411, allocations: 144.5 kB / 272.4 MB, free: 2.141 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.006412, allocations: 0 / 272.4 MB, free: 2.141 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.663e-05/0.006489, allocations: 27.92 kB / 272.4 MB, free: 2.113 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.006491, allocations: 4 kB / 272.4 MB, free: 2.109 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.006501, allocations: 4 kB / 272.4 MB, free: 2.105 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.006502, allocations: 0 / 272.4 MB, free: 2.105 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.006503, allocations: 0 / 272.4 MB, free: 2.105 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.006632, allocations: 152.2 kB / 272.6 MB, free: 1.934 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/0.006673, allocations: 31.83 kB / 272.6 MB, free: 1.902 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.006693, allocations: 0 / 272.6 MB, free: 1.902 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.489e-05/0.006708, allocations: 4 kB / 272.6 MB, free: 1.898 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.584e-06/0.00671, allocations: 4 kB / 272.6 MB, free: 1.895 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.006716, allocations: 3.984 kB / 272.6 MB, free: 1.891 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.774e-05/0.006774, allocations: 154.2 kB / 272.8 MB, free: 1.742 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006774, allocations: 0 / 272.8 MB, free: 1.742 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001235/0.006897, allocations: 12 kB / 272.8 MB, free: 1.73 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 8.951e-05/0.006987, allocations: 119.2 kB / 272.9 MB, free: 1.605 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001061/0.007093, allocations: 43.61 kB / 272.9 MB, free: 1.559 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.007095, allocations: 0 / 272.9 MB, free: 1.559 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.007095, allocations: 0 / 272.9 MB, free: 1.559 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.007371, allocations: 75.44 kB / 273 MB, free: 1.488 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002845/0.007655, allocations: 233.8 kB / 273.2 MB, free: 1.23 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.127e-05/0.007696, allocations: 79.08 kB / 273.3 MB, free: 1.133 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.575e-05/0.007712, allocations: 8.484 kB / 273.3 MB, free: 1.125 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.007736, allocations: 12.5 kB / 273.3 MB, free: 1.113 MB / 250.7 MB Notification: Performance of SimCode: time 5.91e-07/0.007737, allocations: 0 / 273.3 MB, free: 1.113 MB / 250.7 MB Notification: Performance of Templates: time 0.002765/0.0105, allocations: 1.155 MB / 274.5 MB, free: 15.97 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.711916561005637]