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.00106/0.00106, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001615/0.002674, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0007628/0.0007628, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008667/0.00163, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9179/0.9179, allocations: 173.4 MB / 185.8 MB, free: 9.004 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08143/0.9993, allocations: 52.5 MB / 238.3 MB, free: 4.441 MB / 234.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.553e-06/1.553e-06, allocations: 0 / 239.5 MB, free: 3.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.576e-05/1.731e-05, allocations: 2.875 kB / 239.5 MB, free: 3.199 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.001408/0.001425, allocations: 0.9813 MB / 240.5 MB, free: 2.223 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002139/0.001639, allocations: 153 kB / 240.7 MB, free: 2.074 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.7e-05/0.001706, allocations: 3.938 kB / 240.7 MB, free: 2.07 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.071e-05/0.001757, allocations: 11.88 kB / 240.7 MB, free: 2.059 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.309e-05/0.00182, allocations: 23.78 kB / 240.7 MB, free: 2.035 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001444/0.001964, allocations: 43.89 kB / 240.8 MB, free: 1.992 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.002081, allocations: 63.77 kB / 240.8 MB, free: 1.93 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.002185, allocations: 27.98 kB / 240.8 MB, free: 1.902 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.685e-05/0.002252, allocations: 39.89 kB / 240.9 MB, free: 1.863 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.776e-05/0.00234, allocations: 35.89 kB / 240.9 MB, free: 1.828 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.002366, allocations: 11.94 kB / 240.9 MB, free: 1.816 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.22e-05/0.002378, allocations: 4 kB / 240.9 MB, free: 1.812 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.259e-05/0.002421, allocations: 27.92 kB / 241 MB, free: 1.785 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.552e-05/0.002456, allocations: 19.94 kB / 241 MB, free: 1.766 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.002575, allocations: 71.56 kB / 241 MB, free: 1.695 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.314e-05/0.002589, allocations: 0 / 241 MB, free: 1.695 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.002589, allocations: 0 / 241 MB, free: 1.695 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.002603, allocations: 0 / 241 MB, free: 1.695 MB / 234.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.0003995/0.003002, allocations: 328 kB / 241.4 MB, free: 1.348 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.003032, allocations: 12.03 kB / 241.4 MB, free: 1.336 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.003071, allocations: 24.91 kB / 241.4 MB, free: 1.312 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.003224, allocations: 149.5 kB / 241.6 MB, free: 1.141 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.003232, allocations: 8.375 kB / 241.6 MB, free: 1.133 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.003243, allocations: 12.38 kB / 241.6 MB, free: 1.121 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.003422, allocations: 165.3 kB / 241.7 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.003428, allocations: 192 / 241.7 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.944e-06/0.003436, allocations: 8.359 kB / 241.7 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.003441, allocations: 4.375 kB / 241.7 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.654e-05/0.003467, allocations: 26.64 kB / 241.8 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.908e-05/0.003526, allocations: 71.84 kB / 241.8 MB, free: 0.8242 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.003646, allocations: 79.98 kB / 241.9 MB, free: 0.7344 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.051e-05/0.003686, allocations: 40.78 kB / 242 MB, free: 0.6914 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.003694, allocations: 4.281 kB / 242 MB, free: 0.6875 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.003715, allocations: 38.56 kB / 242 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of pre-optimization done (n=16): time 8.12e-07/0.003715, allocations: 4 kB / 242 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001158/0.003831, allocations: 92.77 kB / 242.1 MB, free: 0.543 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.003875, allocations: 63.41 kB / 242.2 MB, free: 480 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.911e-05/0.003954, allocations: 154.6 kB / 242.3 MB, free: 312 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.003964, allocations: 29.7 kB / 242.3 MB, free: 276 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.429e-05/0.003988, allocations: 88.45 kB / 242.4 MB, free: 180 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.218e-05/0.004001, allocations: 15.88 kB / 242.4 MB, free: 164 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.431e-05/0.004025, allocations: 13.72 kB / 242.5 MB, free: 144 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.174e-05/0.004117, allocations: 326.8 kB / 242.8 MB, free: 15.81 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.853e-06/0.004124, allocations: 4 kB / 242.8 MB, free: 15.81 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.535e-05/0.004139, allocations: 21.7 kB / 242.8 MB, free: 15.78 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.549e-05/0.004164, allocations: 17.66 kB / 242.8 MB, free: 15.76 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.004167, allocations: 0 / 242.8 MB, free: 15.76 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.661e-05/0.004213, allocations: 53.61 kB / 242.9 MB, free: 15.7 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.004225, allocations: 8 kB / 242.9 MB, free: 15.69 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.004229, allocations: 0 / 242.9 MB, free: 15.69 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.133e-06/0.004236, allocations: 0 / 242.9 MB, free: 15.69 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.966e-05/0.004275, allocations: 8 kB / 242.9 MB, free: 15.68 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.786e-06/0.004278, allocations: 4.062 kB / 242.9 MB, free: 15.68 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.038e-05/0.004289, allocations: 0 / 242.9 MB, free: 15.68 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.004292, allocations: 4 kB / 242.9 MB, free: 15.68 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 5.893e-05/0.004351, allocations: 116.6 kB / 243 MB, free: 15.55 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.736e-05/0.004409, allocations: 77.59 kB / 243.1 MB, free: 15.47 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.428e-05/0.004443, allocations: 21.12 kB / 243.1 MB, free: 15.45 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.004444, allocations: 0 / 243.1 MB, free: 15.45 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.004446, allocations: 0 / 243.1 MB, free: 15.45 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.004449, allocations: 3.938 kB / 243.1 MB, free: 15.44 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.319e-05/0.004502, allocations: 93.75 kB / 243.2 MB, free: 15.33 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.004503, allocations: 0 / 243.2 MB, free: 15.33 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.296e-05/0.004566, allocations: 31.98 kB / 243.2 MB, free: 15.3 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.942e-05/0.004595, allocations: 27.84 kB / 243.3 MB, free: 15.27 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.004596, allocations: 3.938 kB / 243.3 MB, free: 15.27 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-06/0.004602, allocations: 4 kB / 243.3 MB, free: 15.27 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.004603, allocations: 0 / 243.3 MB, free: 15.27 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.004603, allocations: 0 / 243.3 MB, free: 15.27 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.913e-05/0.004643, allocations: 71.91 kB / 243.3 MB, free: 15.18 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.004658, allocations: 0 / 243.3 MB, free: 15.18 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.291e-05/0.004671, allocations: 8 kB / 243.3 MB, free: 15.17 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.024e-06/0.004673, allocations: 0 / 243.3 MB, free: 15.17 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.004677, allocations: 0 / 243.3 MB, free: 15.17 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.349e-05/0.0047, allocations: 38.64 kB / 243.4 MB, free: 15.13 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004701, allocations: 0 / 243.4 MB, free: 15.13 MB / 250.7 MB Notification: Performance of remove unused functions: time 9.588e-05/0.004796, allocations: 16 kB / 243.4 MB, free: 15.11 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 9.767e-05/0.004894, allocations: 84.42 kB / 243.5 MB, free: 15.02 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.917e-05/0.004963, allocations: 32.78 kB / 243.5 MB, free: 14.99 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.004967, allocations: 4 kB / 243.5 MB, free: 14.98 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.8e-07/0.004967, allocations: 128 / 243.5 MB, free: 14.98 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.005159, allocations: 74.59 kB / 243.6 MB, free: 14.91 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002685/0.005427, allocations: 232.8 kB / 243.8 MB, free: 14.65 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.392e-05/0.005471, allocations: 83.08 kB / 243.9 MB, free: 14.55 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.612e-05/0.005487, allocations: 8.484 kB / 243.9 MB, free: 14.54 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.946e-05/0.005547, allocations: 59.38 kB / 244 MB, free: 14.48 MB / 250.7 MB Notification: Performance of SimCode: time 5.21e-07/0.005547, allocations: 0 / 244 MB, free: 14.48 MB / 250.7 MB Notification: Performance of Templates: time 0.002451/0.007998, allocations: 1.261 MB / 245.2 MB, free: 13.26 MB / 250.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 -ignoreHideResult -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.3802381847053766]