Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008706/0.0008706, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004263/0.004263, allocations: 160 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8674/0.8674, allocations: 177 MB / 204.9 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.323e-05, allocations: 7.062 kB / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001426/0.00145, allocations: 0.9036 MB / 326.7 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003119/0.001761, allocations: 139.5 kB / 326.8 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.964e-05/0.001841, allocations: 7.938 kB / 326.8 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.001949, allocations: 15.86 kB / 326.8 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.002078, allocations: 19.86 kB / 326.9 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.002253, allocations: 43.83 kB / 326.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.002365, allocations: 75.75 kB / 327 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.00248, allocations: 23.98 kB / 327 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.706e-05/0.002527, allocations: 39.89 kB / 327 MB, free: 14.13 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.742e-05/0.002604, allocations: 31.84 kB / 327.1 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.002629, allocations: 8 kB / 327.1 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.082e-05/0.00264, allocations: 4 kB / 327.1 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.105e-05/0.002691, allocations: 31.91 kB / 327.1 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.534e-05/0.002726, allocations: 23.86 kB / 327.1 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.002853, allocations: 95.67 kB / 327.2 MB, free: 13.94 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.002854, allocations: 4 kB / 327.2 MB, free: 13.94 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.002855, allocations: 0 / 327.2 MB, free: 13.94 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.838e-06/0.002859, allocations: 0 / 327.2 MB, free: 13.94 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.0003861/0.003245, allocations: 345.6 kB / 327.6 MB, free: 13.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.00328, allocations: 15.97 kB / 327.6 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.21e-05/0.003312, allocations: 16.84 kB / 327.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.003477, allocations: 138.4 kB / 327.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.003488, allocations: 12.36 kB / 327.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.003501, allocations: 8.375 kB / 327.8 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003087/0.00381, allocations: 262 kB / 328 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.003817, allocations: 192 / 328 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.003827, allocations: 384 / 328 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.003832, allocations: 384 / 328 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.57e-05/0.003898, allocations: 55.91 kB / 328.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001057/0.004003, allocations: 129.2 kB / 328.2 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.004179, allocations: 146 kB / 328.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.741e-05/0.004257, allocations: 72.83 kB / 328.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.004267, allocations: 4 kB / 328.4 MB, free: 12.65 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.004289, allocations: 46.42 kB / 328.5 MB, free: 12.6 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 7.82e-07/0.004289, allocations: 0 / 328.5 MB, free: 12.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002273/0.004517, allocations: 173.8 kB / 328.6 MB, free: 12.42 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.004562, allocations: 59.41 kB / 328.7 MB, free: 12.35 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.004663, allocations: 177.9 kB / 328.9 MB, free: 12.17 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.004674, allocations: 29.7 kB / 328.9 MB, free: 12.13 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.756e-05/0.004711, allocations: 92.47 kB / 329 MB, free: 12.04 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.137e-05/0.004723, allocations: 4 kB / 329 MB, free: 12.03 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.00475, allocations: 29.66 kB / 329 MB, free: 12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.221e-05/0.004833, allocations: 318.8 kB / 329.3 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.239e-05/0.004845, allocations: 4 kB / 329.3 MB, free: 11.67 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.884e-05/0.004864, allocations: 21.66 kB / 329.3 MB, free: 11.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.83e-05/0.004892, allocations: 21.72 kB / 329.4 MB, free: 11.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.004894, allocations: 0 / 329.4 MB, free: 11.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.186e-05/0.004946, allocations: 61.52 kB / 329.4 MB, free: 11.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.004958, allocations: 12.06 kB / 329.4 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.004963, allocations: 0 / 329.4 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.004974, allocations: 0 / 329.4 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.658e-05/0.005021, allocations: 4 kB / 329.4 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.005026, allocations: 4 kB / 329.4 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.206e-05/0.005038, allocations: 3.938 kB / 329.5 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/0.005043, allocations: 0 / 329.5 MB, free: 11.53 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.796e-05/0.005111, allocations: 129.8 kB / 329.6 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.005217, allocations: 144 kB / 329.7 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.102e-05/0.005248, allocations: 25.11 kB / 329.7 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.005251, allocations: 4 kB / 329.7 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.005254, allocations: 3.938 kB / 329.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.005258, allocations: 3.938 kB / 329.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.712e-05/0.005315, allocations: 125.3 kB / 329.9 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.005315, allocations: 0 / 329.9 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.401e-05/0.005379, allocations: 23.98 kB / 329.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.005382, allocations: 4 kB / 329.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.005389, allocations: 4 kB / 329.9 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.00539, allocations: 0 / 329.9 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.005391, allocations: 0 / 329.9 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.00552, allocations: 172.8 kB / 330.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.942e-05/0.00556, allocations: 35.89 kB / 330.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.005572, allocations: 0 / 330.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.628e-05/0.005588, allocations: 8 kB / 330.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-06/0.005592, allocations: 4 kB / 330.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.005597, allocations: 4 kB / 330.1 MB, free: 10.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.134e-05/0.005649, allocations: 115.2 kB / 330.2 MB, free: 10.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005649, allocations: 0 / 330.2 MB, free: 10.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001286/0.005777, allocations: 12 kB / 330.3 MB, free: 10.67 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.712e-05/0.005854, allocations: 119.2 kB / 330.4 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.698e-05/0.005951, allocations: 55.86 kB / 330.4 MB, free: 10.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.005953, allocations: 0 / 330.4 MB, free: 10.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.005954, allocations: 0 / 330.4 MB, free: 10.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.006213, allocations: 102.1 kB / 330.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002855/0.006498, allocations: 287.3 kB / 330.8 MB, free: 10.08 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.697e-05/0.006565, allocations: 104.5 kB / 330.9 MB, free: 9.957 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.00659, allocations: 20.62 kB / 330.9 MB, free: 9.934 MB / 298.7 MB Notification: Performance of SimCode: time 4.2e-07/0.00659, allocations: 0 / 330.9 MB, free: 9.934 MB / 298.7 MB Notification: Performance of Templates: time 0.001802/0.008392, allocations: 1.224 MB / 332.2 MB, free: 8.711 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.24743165075779]