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.0008154/0.0008154, allocations: 87.62 kB / 21.43 MB, free: 3.137 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.004773/0.004773, allocations: 160.2 kB / 24.7 MB, free: 8.879 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.8552/0.8552, allocations: 177.2 MB / 205 MB, free: 5.742 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.1.|assignClock1.y.2.",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.1.|assignClock1.y.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.491e-05/1.603e-05, allocations: 2.281 kB / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001308/0.001324, allocations: 0.9015 MB / 326.7 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002974/0.001621, allocations: 147.5 kB / 326.9 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.449e-05/0.001696, allocations: 7.938 kB / 326.9 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.279e-05/0.001788, allocations: 15.8 kB / 326.9 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.001905, allocations: 19.91 kB / 326.9 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.002079, allocations: 43.83 kB / 327 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.002187, allocations: 67.77 kB / 327 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.002304, allocations: 31.97 kB / 327.1 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.823e-05/0.002352, allocations: 31.91 kB / 327.1 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.021e-05/0.002422, allocations: 31.89 kB / 327.1 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.002447, allocations: 8 kB / 327.1 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.01e-05/0.002457, allocations: 8 kB / 327.1 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.618e-05/0.002513, allocations: 35.84 kB / 327.2 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.324e-05/0.002546, allocations: 23.92 kB / 327.2 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.00266, allocations: 91.62 kB / 327.3 MB, free: 13.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.002662, allocations: 0 / 327.3 MB, free: 13.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.002662, allocations: 0 / 327.3 MB, free: 13.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.002666, allocations: 0 / 327.3 MB, free: 13.98 MB / 298.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.0003506/0.003017, allocations: 345.7 kB / 327.6 MB, free: 13.61 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.003048, allocations: 8.031 kB / 327.6 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.061e-05/0.003078, allocations: 16.84 kB / 327.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.00324, allocations: 154.5 kB / 327.8 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.00325, allocations: 8.375 kB / 327.8 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.003263, allocations: 12.38 kB / 327.8 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002899/0.003553, allocations: 243.7 kB / 328.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.00356, allocations: 192 / 328.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.00357, allocations: 8.375 kB / 328.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.003575, allocations: 384 / 328.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.213e-05/0.003637, allocations: 59.78 kB / 328.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001033/0.00374, allocations: 125.2 kB / 328.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.003908, allocations: 138.9 kB / 328.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.668e-05/0.003985, allocations: 80.81 kB / 328.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.003994, allocations: 4 kB / 328.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.004011, allocations: 30.56 kB / 328.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 8.51e-07/0.004012, allocations: 0 / 328.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002215/0.004233, allocations: 184.4 kB / 328.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.004278, allocations: 67.34 kB / 328.7 MB, free: 12.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.711e-05/0.004375, allocations: 176.9 kB / 328.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.004386, allocations: 25.7 kB / 328.9 MB, free: 12.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.032e-05/0.004426, allocations: 88.47 kB / 329 MB, free: 12.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.272e-05/0.004439, allocations: 7.984 kB / 329 MB, free: 12.08 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.004467, allocations: 25.67 kB / 329.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.372e-05/0.004541, allocations: 318.8 kB / 329.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.115e-05/0.004552, allocations: 8 kB / 329.4 MB, free: 11.72 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.594e-05/0.004568, allocations: 13.72 kB / 329.4 MB, free: 11.7 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.645e-05/0.004595, allocations: 25.72 kB / 329.4 MB, free: 11.67 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.004596, allocations: 0 / 329.4 MB, free: 11.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.007e-05/0.004646, allocations: 61.58 kB / 329.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.004658, allocations: 8 kB / 329.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.004661, allocations: 3.938 kB / 329.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.004672, allocations: 0 / 329.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.063e-05/0.004713, allocations: 4 kB / 329.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.004719, allocations: 7.984 kB / 329.5 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.26e-05/0.004732, allocations: 3.938 kB / 329.5 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.004737, allocations: 3.984 kB / 329.5 MB, free: 11.57 MB / 298.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.77e-05/0.004804, allocations: 133.8 kB / 329.6 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.004911, allocations: 137.5 kB / 329.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.784e-05/0.004939, allocations: 21.11 kB / 329.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.004941, allocations: 0 / 329.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.004944, allocations: 0 / 329.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.004949, allocations: 7.938 kB / 329.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.923e-05/0.005008, allocations: 125.3 kB / 329.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.005009, allocations: 0 / 329.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.125e-05/0.00507, allocations: 35.86 kB / 330 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.005071, allocations: 0 / 330 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.005079, allocations: 8 kB / 330 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.005079, allocations: 0 / 330 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.00508, allocations: 0 / 330 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.005205, allocations: 175.7 kB / 330.1 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.709e-05/0.005242, allocations: 27.89 kB / 330.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.005257, allocations: 4 kB / 330.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.405e-05/0.005271, allocations: 4 kB / 330.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-06/0.005274, allocations: 0 / 330.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.005278, allocations: 4 kB / 330.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.696e-05/0.005335, allocations: 117.9 kB / 330.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.005335, allocations: 0 / 330.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001214/0.005456, allocations: 20 kB / 330.3 MB, free: 10.71 MB / 298.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 7.209e-05/0.005528, allocations: 115 kB / 330.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.991e-05/0.005628, allocations: 59.91 kB / 330.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.00563, allocations: 0 / 330.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.00563, allocations: 0 / 330.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.005892, allocations: 87.02 kB / 330.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003189/0.006211, allocations: 291.4 kB / 330.9 MB, free: 10.13 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.576e-05/0.006277, allocations: 104.8 kB / 331 MB, free: 10.01 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.006308, allocations: 12.5 kB / 331 MB, free: 9.996 MB / 298.7 MB Notification: Performance of SimCode: time 7.12e-07/0.006309, allocations: 0 / 331 MB, free: 9.996 MB / 298.7 MB Notification: Performance of Templates: time 0.002141/0.008449, allocations: 1.241 MB / 332.2 MB, free: 8.758 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.318699900992215]