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.0008845/0.0008845, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001162/0.002046, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007471/0.0007471, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009589/0.001706, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 1.039/1.039, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1098/1.149, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.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.964e-06/1.964e-06, allocations: 0 / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.531e-05/2.727e-05, allocations: 9.766 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.002042/0.002069, allocations: 0.9903 MB / 245.7 MB, free: 13.24 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002925/0.002362, allocations: 155.4 kB / 245.8 MB, free: 13.09 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.002463, allocations: 7.938 kB / 245.9 MB, free: 13.08 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.882e-05/0.002542, allocations: 11.86 kB / 245.9 MB, free: 13.07 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.755e-05/0.002629, allocations: 19.8 kB / 245.9 MB, free: 13.05 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.002808, allocations: 43.89 kB / 245.9 MB, free: 13 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.002923, allocations: 67.77 kB / 246 MB, free: 12.94 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.00303, allocations: 23.98 kB / 246 MB, free: 12.91 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.449e-05/0.003104, allocations: 51.88 kB / 246.1 MB, free: 12.86 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.777e-05/0.003192, allocations: 27.91 kB / 246.1 MB, free: 12.84 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.003219, allocations: 8 kB / 246.1 MB, free: 12.83 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.47e-05/0.003234, allocations: 8 kB / 246.1 MB, free: 12.82 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.043e-05/0.003284, allocations: 31.86 kB / 246.1 MB, free: 12.79 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.105e-05/0.003315, allocations: 15.94 kB / 246.2 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.003435, allocations: 63.64 kB / 246.2 MB, free: 12.71 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.068e-05/0.003446, allocations: 0 / 246.2 MB, free: 12.71 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.003447, allocations: 0 / 246.2 MB, free: 12.71 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.003456, allocations: 4 kB / 246.2 MB, free: 12.71 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.0003798/0.003835, allocations: 328 kB / 246.5 MB, free: 12.36 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.003867, allocations: 12.02 kB / 246.6 MB, free: 12.35 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.477e-05/0.003902, allocations: 12.94 kB / 246.6 MB, free: 12.34 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.00406, allocations: 158.3 kB / 246.7 MB, free: 12.16 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.004071, allocations: 16.25 kB / 246.7 MB, free: 12.14 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.004083, allocations: 4.375 kB / 246.7 MB, free: 12.14 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.004281, allocations: 162.3 kB / 246.9 MB, free: 11.96 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.004288, allocations: 4.188 kB / 246.9 MB, free: 11.96 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.004297, allocations: 384 / 246.9 MB, free: 11.96 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.004301, allocations: 384 / 246.9 MB, free: 11.96 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.935e-05/0.00433, allocations: 38.61 kB / 246.9 MB, free: 11.92 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.635e-05/0.004396, allocations: 63.83 kB / 247 MB, free: 11.84 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.004516, allocations: 76.19 kB / 247.1 MB, free: 11.76 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.288e-05/0.004559, allocations: 44.83 kB / 247.1 MB, free: 11.71 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.784e-06/0.004567, allocations: 4.281 kB / 247.1 MB, free: 11.71 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.004594, allocations: 38.55 kB / 247.2 MB, free: 11.66 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 9.72e-07/0.004595, allocations: 0 / 247.2 MB, free: 11.66 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001318/0.004727, allocations: 101.3 kB / 247.3 MB, free: 11.56 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.00477, allocations: 59.41 kB / 247.3 MB, free: 11.49 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.769e-05/0.004848, allocations: 153.1 kB / 247.5 MB, free: 11.33 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.004859, allocations: 25.7 kB / 247.5 MB, free: 11.3 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.002e-05/0.004889, allocations: 92.44 kB / 247.6 MB, free: 11.2 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.134e-05/0.0049, allocations: 3.953 kB / 247.6 MB, free: 11.2 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.004929, allocations: 29.69 kB / 247.6 MB, free: 11.16 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.796e-05/0.005007, allocations: 322.8 kB / 247.9 MB, free: 10.84 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.4e-06/0.005012, allocations: 0 / 247.9 MB, free: 10.84 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.469e-05/0.005027, allocations: 17.7 kB / 248 MB, free: 10.81 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.475e-05/0.005051, allocations: 29.59 kB / 248 MB, free: 10.78 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.005053, allocations: 0 / 248 MB, free: 10.78 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.857e-05/0.005102, allocations: 41.69 kB / 248 MB, free: 10.73 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.005116, allocations: 10.28 kB / 248 MB, free: 10.72 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.005119, allocations: 0 / 248 MB, free: 10.72 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.005131, allocations: 4 kB / 248 MB, free: 10.72 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.598e-05/0.005177, allocations: 7.984 kB / 248 MB, free: 10.71 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-06/0.00518, allocations: 0 / 248 MB, free: 10.71 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.459e-05/0.005194, allocations: 8 kB / 248.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.005198, allocations: 4.062 kB / 248.1 MB, free: 10.7 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.056e-05/0.005259, allocations: 120.6 kB / 248.2 MB, free: 10.57 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.399e-05/0.005313, allocations: 73.61 kB / 248.2 MB, free: 10.49 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.605e-05/0.005349, allocations: 21.11 kB / 248.3 MB, free: 10.47 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.005351, allocations: 4 kB / 248.3 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.005353, allocations: 0 / 248.3 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.005356, allocations: 0 / 248.3 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.514e-05/0.005411, allocations: 89.7 kB / 248.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.005412, allocations: 4 kB / 248.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.758e-05/0.005479, allocations: 27.98 kB / 248.4 MB, free: 10.33 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.005519, allocations: 31.83 kB / 248.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.00552, allocations: 0 / 248.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.005526, allocations: 4 kB / 248.4 MB, free: 10.29 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.005527, allocations: 0 / 248.4 MB, free: 10.29 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.005528, allocations: 0 / 248.4 MB, free: 10.29 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.905e-05/0.005567, allocations: 63.83 kB / 248.5 MB, free: 10.21 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.005584, allocations: 8 kB / 248.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.205e-05/0.005596, allocations: 4 kB / 248.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-06/0.005599, allocations: 0 / 248.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.005604, allocations: 7.938 kB / 248.5 MB, free: 10.19 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.528e-05/0.005629, allocations: 31.88 kB / 248.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005629, allocations: 4 kB / 248.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of remove unused functions: time 9.464e-05/0.005724, allocations: 12 kB / 248.6 MB, free: 10.14 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 7.804e-05/0.005802, allocations: 92.41 kB / 248.6 MB, free: 10.05 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.643e-05/0.005869, allocations: 28.84 kB / 248.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.005872, allocations: 0 / 248.7 MB, free: 10.02 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.42e-07/0.005872, allocations: 7.938 kB / 248.7 MB, free: 10.01 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.006101, allocations: 215.4 kB / 248.9 MB, free: 9.766 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002458/0.006347, allocations: 236 kB / 249.1 MB, free: 9.512 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.632e-05/0.006384, allocations: 79.19 kB / 249.2 MB, free: 9.414 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.397e-05/0.006398, allocations: 4.484 kB / 249.2 MB, free: 9.41 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.09e-05/0.006458, allocations: 67.38 kB / 249.3 MB, free: 9.344 MB / 250.7 MB Notification: Performance of SimCode: time 6.91e-07/0.006459, allocations: 0 / 249.3 MB, free: 9.344 MB / 250.7 MB Notification: Performance of Templates: time 0.002677/0.009136, allocations: 1.264 MB / 250.5 MB, free: 8.113 MB / 250.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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.589859957806766]